year( date )
Returns the year for the date specified.
Keyword | Type | Description |
---|---|---|
|
Date |
The date from which the year is extracted. |
Integer
year(date(2011,2,28))
returns 2011