To time Casting a dateTime to a time
- Last Updated: August 3, 2020
- 1 minute read
- Corticon
- Documentation
SYNTAX
<DateTime>.toTime
Converts the value in <DateTime>
to a Time data type, containing only the time portion of the full DateTime. If
<DateTime> contains no time information,
then 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 .toTime to
convert dateTime1 to Time and assign the value to
TimeOnly1.
![]()
![]()