Corticon Studio: Rule Language Guide
:
Rule operator details and examples
:
To dateTime: Casting a date to a dateTime
Try Corticon Now
To dateTime: Casting a date to a dateTime
SYNTAX
<Date>
.toDateTime
DESCRIPTION
Converts the value in
<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.
USAGE RESTRICTIONS
The Operators row of the table in
Summary Table of Vocabulary Usage Restriction
applies. No special exceptions.
RULESHEET EXAMPLE
The following Rulesheet uses
.toDateTime
to convert
dateOnly1
to type DateTime and assign the value to
dateTime1
.
SAMPLE TEST