Powered by Zoomin Software. For more details please contactZoomin

Rule Language

Year

  • Last Updated: October 26, 2026
  • 1 minute read
    • Corticon
    • Version 7.1
    • Documentation

SYNTAX

<DateTime>.year

<Date>.year

Returns the century/year portion of <DateTime> or <Date>. 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 dateOnly1 and assign the year values to integer1 and integer2, respectively.

A sample Ruletest provides three examples of dateTime1 and dateOnly1. Input and Output panels are shown below:

Alert