To date Casting a dateTime to a date
- Last Updated: March 24, 2022
- 1 minute read
- Corticon
- Version 6.3
- 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.