Reference > Expressions > Built-in Functions > Type Conversion Functions > DateTime

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.

Example

$(DateTime(1/31/14))

For the example above, returns 1/31/14. The return value depends on the locale.