DateTime
Converts the input parameter into a local DateTime value.
Syntax
DateTime(value)
Enabled for
Search/Dashboard | No |
Business Rules | No |
Quick Actions | Yes |
Workflow Objects | No |
Reports | No |
Parameter
value | The input to evaluate. Can be a text value or a DateTime value. |
Return Value
DateTime value. See Constructing Expressions and Conversion to DateTime Values. Returns the date and time in the date and time format that is based on your culture code. See Available Languages and Cultures for a list of the culture codes used by HEAT.
- Returns a date and time if the value parameter is a text value that contains a valid date and time literal.
- Returns the same value parameter if the input is a DateTime value.
Returns null if the value parameter is null.
Example
$(DateTime(1/31/14))
For the example above, returns 1/31/14. The return value depends on the locale.