month()

This function returns the month of date a.

Parameters


Parameter

Description

a

Date.


Examples


Parameter a

Result

2005-01-05 08:20:00

1

2005-01-05

1