MONTH

  • Updated

Returns the month corresponding to a given date.

 

Sample Usage

MONTH(DATE(2020,1,3))
MONTH(C5)

Syntax

MONTH(date)

  • date - The date from which to calculate the month.

Examples

MONTH(DATE(2020,1,3)) returns the month component, which is 1.
MONTH(C5) returns the month component of the date value contained in C5.

Notes

  • MONTH does not auto-convert number formats. Therefore, MONTH(10/10/2000) is interpreted as MONTH(0.05) , the quotient of 10 divided by 10 divided by 2000.
  • Problems can occur if dates are entered as text. You can use the DATE function to enter a date. For example, use DATE(2020,2,3) for the 3rd day of January, 2020. 
  • You can also use other functions which return a date object. (For example: DATEVALUE).