Powered by Zoomin Software. For more details please contactZoomin

Rule Language

Week of year

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

SYNTAX

<DateTime>.weekOfYear

<Date>.weekOfYear

Returns an Integer from 1 to 52, equal to the week number within the year in <DateTime> or <Date>. A week begins on Sunday and ends on Saturday. When a year ends between Sunday and the next Friday, or in other words when a new year begins between Monday and the next Saturday, the final day(s) of December will be included in week 1 of the new year. For example, 12/29/2013 fell on a Sunday, so 12/29-31 are included in week 1 of 2014.

The Operators row of the table in Summary Table of Vocabulary Usage Restriction applies. No special exceptions.

The following Rulesheet uses .weekOfYear to assign a value to integer1.

Alert