year() Function

Returns the year for the date specified.

Syntax

year( date )

date: (Date) The date from which the year is extracted.

Returns

Integer

Examples

year(date(2011,2,28)) returns 2011

Open in Github Built: Fri, Jun 03, 2022 (01:08:29 PM)

On This Page

FEEDBACK