Skip to content

month

Syntax

month()

Description

The integer of the current month of the simulation. Jan=1, Feb=2, ..., Dec=12.

Examples

If the current simulation day is January 1st, 2021, then

x = month()

assigns a value of 1 to some numeric variable x.

See Also