To date Casting a dateTime to a date
- Last Updated: January 30, 2023
- 1 minute read
- Corticon
- Documentation
SYNTAX
<DateTime>.toDate
<DateTime> to a Date datatype,
containing only the date portion of the DateTime. If <DateTime> contains no date information, then the system epoch is
used.The Operators row of the table in Summary Table of Vocabulary Usage Restriction applies. No special exceptions.
The following Rulesheet uses .toDate to convert
dateTime1 and DateTime2 to Date datatypes and assign the values to dateTime1 and dateTime2.
![]()
![]()