To dateTime Casting a date to a dateTime
- Last Updated: March 24, 2022
- 1 minute read
- Corticon
- Version 6.3
- Documentation
SYNTAX
<Date>.toDateTime
<Date>
to data type DateTime. The date portion is the same as the <Date> value and the time portion is set to 12:00:00 AM in the current timezone. The Operators row of the table in Summary Table of Vocabulary Usage Restriction applies. No special exceptions.
The following Rulesheet uses .toDateTime to
convert dateOnly1 to type DateTime and assign the
value to dateTime1.