Date functions
Function | Description | Example Expression | Example Result |
| Explicitly converts the input to a date value. The input must be a string matching the format "YYYY-MM-DD HH:MM:SS" |
| 2016-03-10 14:00:00 (date) |
| Returns the current date and time |
| (current date and time as a date variable) |
| Formats x as a string, using the given pattern. See Formats |
| "160310" |
Example of the left side value (L) is a date and the right side value (R) is a number, the expression returns a new date representing L with R number of days added.
Expression | Result |
| A date variable representing tomorrow. |
| A date variable representing yesterday. |
Last updated