Home : Products : Hach WIMS : Hach WIMS Client : Documentation : Function Reference : Spread Functions : Primitive Functions : MONTH
Q11563 - INFO: MONTH

MONTH (Primitive Spread Function) returns the month corresponding to the specified date value.

SYNTAX:

MONTH(date)

REMARKS:

Specify the date argument as a serial value or date value. To provide a serial value from a date value, use the DATE or TODAY function. The month is returned as an integer, ranging from 1 (January) to 12 (December).

Spread's calc engine processes dates as a numeric value in the form x.y, where x is the "number of days since December 30, 1899" and y is the fraction of day. Numbers to the left represent the date, which is the value that the DATE function returns. Use the TIME function to return the serial value for the time value (the fraction of a day).

Date values are based on the number of days elapsed since December 30, 1899, which has a date serial value of Day 0. For example, December 31, 1899 has a date serial value of 1. Date values prior to December 30, 1899 have negative date serial values. For example, the date value December 29, 1899 has a date serial value of –1. 

EXAMPLES:

MONTH(A2)
MONTH(366)=12

Related Articles
Q11523 - INFO: DAY
Q11560 - INFO: MINUTE
Q11567 - INFO: NOW
Q11589 - INFO: SECOND
Q11607 - INFO: TIME
Q11608 - INFO: TODAY
Q11615 - INFO: WEEKDAY
Q11618 - INFO: Welcome to JOB Cal

Article Attachments
No Attachments Available.

Related External Links
No Related Links Available.
Help us improve this article...
What did you think of this article?

poor 
1
2
3
4
5
6
7
8
9
10

 excellent
Tell us why you rated the content this way. (optional)
 
Approved Comments...
No user comments available for this article.
Created on 8/27/2008 10:31 AM.
Last Modified on 8/27/2008 10:31 AM.
Last Modified by No Author Name Available!.
Article has been viewed 2426 times.
Rated 0 out of 10 based on 0 votes.
Print Article
Email Article