useryear() Function

Returns the year from the date or datetime specified in the user preferred calendar.

Syntax

useryear( date )

date: (Date) The date or datetime from which the year is to be extracted.

Returns

Number

Examples

You can copy and paste these examples into the Expression Rule Designer to see how this works.

useryear(11/20/2006) returns 2006

Open in Github Built: Thu, Feb 23, 2023 (02:59:22 PM)

On This Page

FEEDBACK