dt(dtVal)

Causes the result of the date/time variable, constant, or calculation dtVal to be a date/time. If the output is a new variable, it will be of type date/time, but if the output variable already exists, its type is not changed.
For example, from
!newdt! = \4/25/19 08:30:00\
the type of newdt is real, but from
!newdt! = $dt(\4/25/19 08:30:00\)
the type of newdt is date/time.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.