year¶ Syntax¶ year() Description¶ Returns the 4-digit current year of the simulation as an integer value. Examples¶ If the current simulation day is January 1st, 2021, then x = year() assigns 2021 to some numeric variable x. See Also¶ date datetime_add day_of_month day_of_week day_of_year month today year