year() Function

Function

year( date )

Returns the year for the date specified.

Parameters

Keyword Type Description

date

Date

The date from which the year is extracted.

Returns

Integer

Examples

You can experiment with this function in the test box below.

Test Input

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

Open in Github Built: Fri, Nov 19, 2021 (11:59:11 AM)

On This Page

FEEDBACK