Date and Time Aspects
When a rule specifies property types with the DATE or DATE_TIME data type, there are a number of options for querying that data. Rules can be applied to specific aspects of temporal information.
- DATE_AND_TIME
- Apply the rule to conditions that include both a date and time. For example: Searches for people spotted in a specific location at specific time.
- DATE
- Apply the rule to conditions that focus on a date. For example: Searches for people born on a particular day.
- TIME
- Apply the rule to conditions that focus on a time. For example: Searches for financial transactions that regularly occur at a set time.
- DAY_OF_MONTH
- Apply the rule to conditions that focus on the day of the month. For example: Searches for people paid on a specific day of the month.
- MONTH
- Apply the rule to conditions that focus on the month. For example: Searches for people born within a specific month.
- QUARTER
- Apply the rule to conditions that focus on the quarter of the year. For example: Searches for financial results.
- YEAR
- Apply the rule to conditions that focus on a specific year. For example: Searches for people born within a specific year.
- DAY_OF_WEEK
- Apply the rule to conditions that focus on a specific day of the week. For example: Searches for events that always occur on a Tuesday.
- WEEK_OF_YEAR
- Apply the rule to conditions that focus on the week of the year as calculated using the ISO week date system. For example weekly sales results.