monthofyear()

Returns the integer number represents the month number of the given year.

monthofyear(datetime("2015-12-14"))

Syntax

monthofyear(a_date)

Arguments

  • a_date: A datetime.

Returns

month number of the given year.