Powered by Zoomin Software. For more details please contactZoomin

Rule Language

Year

  • Last Updated: October 26, 2026
  • 1 minute read
    • Corticon.js
    • Version 2.4
    • Documentation

SYNTAX

<DateTime>.year

Returns the century/year portion of <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:

Alert