List of date functions
The following table describes the DateFunction values that you can use with fields that have a DateTime data type. You can query based on a property of the date instead of the date itself. The calculation depends on the TimeZoneUsed parameter. Possible time zone values are Local or Utc. When Local is used, the user’s time zone offset is considered.
|
Function name |
Code |
Description |
|---|---|---|
|
|
|
The four-digit year part of the date. |
|
|
|
The month part of the date from |
|
|
|
The day part of the date from |
|
|
|
The day of the week from |
|
|
|
The number of days that have passed until now. |
|
|
|
The number of hours that have passed until now. |
|
|
|
The number of minutes that have passed until now. |