syntax:functions:year
This is an old revision of the document!
Year(date_as_number)
Extracts the corresponding year, as a four-digit number, from the date_as_number.
Example | Result | Notes |
---|---|---|
year(42097) | 2015 | 42097 corrensponds to April 4th, 2015 |
year( makedate(2014,1,1) ) | 2014 |
See also
syntax/functions/year.1428109192.txt.gz · Last modified: 2015/04/03 20:59 by elenap