SYNTAX

<DateTime>.month

<Date>.month

Returns the month in <DateTime> or Date as an Integer between 1 and 12.

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

The following Rulesheet uses .month to evaluate dateTime1 and dateTime2 and assign the month value to integer1 and integer2, respectively.

A sample Ruletest provides two examples with dateTime1 and dateTime2. Input and Output panels are shown below.