Year
- Last Updated: August 17, 2020
- 1 minute read
- Corticon.js
- Documentation
SYNTAX
<DateTime>.year
<DateTime>. The returned value is a four digit
Integer.The Operators row of the table in Summary Table of Vocabulary Usage Restriction applies. No special exceptions.
The following Rulesheet uses .year to
evaluate dateTime1 and dateTime2 and assign the year values to integer1 and integer2,
respectively.
![]()
A sample Ruletest provides two examples of dateTime1 and dateTime2. Input and
Output panels are shown below:
![]()