month
Description
Returns the month of the date in integer, starting from 0.
Usage
Client side: Y
Server side: Y
Syntax
Integer month(Date date)
Argument
date
The date to be calculated. The argument can by any date type data.
Return
Returns the month of the date in integer. 0 represents January.
Example
If the month of given date is January, returns 0.
If the month of given date is December, returns 11.
See also