useryear() Function
This function cannot be used with Custom Record Field Expressions. It can only be used with Offline Mobile if it is loaded at the top of the form.
For a full list of functions and their feature compatibility, explore the Appian Functions table.

Function

useryear( date )

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

Parameters

Keyword Type Description

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: Mon, Nov 21, 2022 (01:51:50 PM)

On This Page

FEEDBACK