====== Month(date) ====== Category: Date and Time function \\ =====Description===== This function returns the corresponding month number, 1 through 12, from //date//. \\ =====Arguments===== ^Argument^Type^Description^ |date|Date or Number (date serial)|An expression representing a date. The date value to derive the month number from.| **Return value type:** Number \\ =====Remarks===== The //date// argument can take any value or expression that evaluates to a date serial value. Examples include: * A date string: #2019-12-12 * A date serial value: 43811 (the date serial for "2019-12-12") * A date value created using any of the Date/Time functions that returns a date serial value. \\ =====Examples===== month(42097) //Returns 4 (42097 corresponds to April 4th, 2015.) month(#2014-01-01) //Returns 1 \\ =====See also===== * [[syntax:functions:year|Year(date)]] * [[syntax:functions:day|Day(date)]] * [[syntax:functions:weekday|Weekday(date)]] * [[syntax:functions:makedate|MakeDate(year, month, day)]]