-
-
Notifications
You must be signed in to change notification settings - Fork 27
Using custom date parameters
builder_247 edited this page Apr 11, 2020
·
2 revisions
This page explains how to use human readable syntax for date parameters such as to and from with the Slothpixel API.
Basic math operations (addition, subtraction and division) can be used in conjunction with time units and now to generate a timestamp.
| Unit | Name |
|---|---|
y |
year |
M |
month |
w |
week |
d |
day |
h |
hour |
m |
minute |
s |
second |
-
now- The current date -
now-1d- The date one day ago - `` -