userdaysinmonth() 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

userdaysinmonth( month, year )

Interprets the year/month specified in the user preferred calendar and returns the number of days in a that month.

Parameters

Keyword Type Description

month

Number

The month for which days are requested.

year

Number

The year for which days in month is requested.

Returns

Number

Examples

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

userdaysinmonth(04,2006) returns 30

Open in Github Built: Mon, Nov 21, 2022 (01:51:50 PM)

On This Page

FEEDBACK