Relative Date Syntax
Using NLP, matches operator can smartly translate the text you input to a time range. Usually it works in the Date Filter.
Matches
Using NLP, matches
operator can smartly translate the text you input to a time range. Do note that the matches
operator resolves condition values at runtime, not when saving the report.
Examples of valid syntax:
- yesterday
- monday last week
- last 2 months
- 3 weeks ago till today
- next 3 years in the future
- 19:00 yesterday to now
- Dec 2018 - 1/1/2020
- 1998 - 2018
Exact date
Both absolute and relative date values are acceptable.
Format | Description | Example |
---|---|---|
| 01 April 2020, April 01 2020 | |
| 01-04-2020, 2020-04-01 | |
| 01/04/2020, 2020/04/01 | |
| ||
| monday this week, wed this week | |
| tuesday last 2 weeks, fri last 3 weeks | |
| The first/last day of the time period. Time period can include: - this year/ month/ week - last x year(s)/ month(s)/ week(s) - next x year(s)/ month(s)/ week(s) | Today is Mar 15, 2020. |
| 1 day ago, 2 days ago | |
| This equal to “1970-01-01” which is the earliest day for our system |
Date / Time range
Note: We only support Date Range at the moment, please leave us a note if Time range is critical to you.
Format | Description | Example |
---|---|---|
| Cover all dates in a month. | April 2020, Mar 2020 |
| Cover all dates in a year. | 2019, 2020 |
| Cover all dates in range, including end date. | 2020-03-01 to 2020-04-01, last month end - today |
| Cover all dates in range, excluding end date. | 2020-03-01 till 2020-04-01, last month end until today |
| Cover all dates in the previous x units, except the current year/ month/ week/ date. | Today is Mar 15 2020. |
| Cover all dates in a single year/month/week at x units before the current time. | Today is Mar 15 2020. |
| Cover all dates within the same year/month/week with the current time. | Today is Mar 15 2020. |
| Cover all dates in the next x units, except the current year/month/week/date | Today is Mar 15 2020. |