API Date Filter Format
Table of Contents
You can use relative or absolute times for the start and end times when you request the generation of a report via one of the APIs.
Relative Time
Relative time is calculated from the current time on the server (now) and can be specified as:
-
Days:
Xd
whereX
is an integer number of days in the past from now.-
Examples:
-
0d
: today -
1d
: yesterday -
365d
: 1 year ago from today
-
-
-
Months:
Xm
whereX
is an integer number of months in the past from now.-
Examples:
-
1m
= 1 month ago from today -
12m
= 1 year ago from today
-
-