To dateTime
- Last Updated: January 30, 2023
- 1 minute read
- Corticon.js
- Documentation
SYNTAX
<String>.toDateTime
<String> to data type DateTime ONLY if
date is an ISO8601 string or millisecs since epoch as a string. An invalid casting results
in a null.The Operators row of the table in Summary Table of Vocabulary Usage Restriction applies. No special exceptions.
The following Rulesheet uses .toDateTime to
convert string1 to type DateTime and assign the value
to dateTime1.
![]()
![]()