Date Functions
These functions are available for Calculated Fields and Crosstabs.

Function | ToDate( <Expression> , <Expression> , <Expression> ) |
Description | Returns a date value. |
Arguments |
Each expression can either contain a date field or a numeric value. The 1st expression contains the year element. The 2nd expression contains the month element. The 3rd expression contains the minute element. |
Examples |
Raised_Date = 15/01/2015 Closed_Date = 16/01/2015
|
Note: The output value will be a date field when created as a Calculated Field for an Index. For a Crosstab, the output value will actually be a numeric representation of the date. However, the value can still be used for calculations that require date comparisons/logic.

Function | ToDateTime( <Expression> , <Expression> , <Expression> , <Expression> , <Expression> , <Expression> ) |
Description | Returns a datetime value. |
Arguments |
Each expression can either contain a date field or a numeric value. The 1st expression contains the year element. The 2nd expression contains the month element. The 3rd expression contains the day element. The 4th expression contains the hour element. The 5th expression contains the minute element. The 6th expression contains the seconds element. |
Examples |
Raised_Date = 15/01/2015 14:08:11 Closed_Date = 16/01/2015 09:21:45
|
Note: The output value will be a date field when created as a Calculated Field for an Index. For a Crosstab, the output value will actually be a numeric representation of the date. However, the value can still be used for calculations that require date comparisons/logic.

Function | NOW |
Description | Returns current system date and time |
Arguments | |
Examples |
|