CellSpace/Manual (draft)
by CellWorks
Home
  
Table of Contents
  
Glossary
Month
The Month function returns the month(1-12) of the year given a date value or a serial day number.
Usage:
	= Month(<date_or__number>)
Example with a date value:
	/* returns 6 */
	var myDate = Date(2005, 6, 15);
	= Month(myDate);
Or with a serial day number:
	/* returns 6 for 15-June-2005 */
	= Month(38518);
Or with a serial day number:
	/* returns 12 for 30-December-1899 */
	= Month(0);