# Date-based Search Queries
Below you will find a list of auxiliary terms that will help you perform search queries for results within a specific time period in the context of the CoB platform. You can find a detailed explanation of date-based search queries in this article.
Time frame | Description | Demo |
---|---|---|
Last month | start.date:now\/M-1M | try (opens new window) |
Last 30 days | (start.date:>now-30d AND start.date:<now) | try (opens new window) |
Year to date | (start.date:now\/y AND start.date:<now) | try (opens new window) |
Previous year to date | (start.date:now\/y-1y AND start.date:<now-1y) | try (opens new window) |
Last hour | start.date:now\/h-1h | try (opens new window) |
Last 60 minutes | (start.date:>now-60m AND start.date:<now) | try (opens new window) |
This week | (start.date:>now-1w AND start.date:<now) | try (opens new window) |
Since seven days and forward* | start.date:>now-7d | try (opens new window) |
Last 30 minutes | (start.date:>now-30m AND start.date:<now) | try (opens new window) |
All records from 8h30m and up to this moment | (start.date:>=now-8h-30m\/d+8h+30m AND start.date:<now) | try (opens new window) |
First two weeks of this year | (start.date:now\/y AND -start.date:now\/y+2w) | try (opens new window) |
First two weeks of last year | (start.date:now\/y-1y AND -start.date:now\/y+2w-1y) | try (opens new window) |
Past minute | (start.date:>=now-1m AND start.date:<now) | try (opens new window) |
Last Christmas | (start.date:now\/y-7d AND start.date:<now\/y-6d) | try (opens new window) |
* Starting from the current moment of the day and not 00h00m.