Free cookie consent management tool by TermsFeed

useredate() Function

Function

useredate( start_date, months )

Returns the date that is the number of months before or after the given starting date in the user preferred calendar.

Parameters

Keyword Type Description

start_date

Date

The starting date.

months

Number

The number of months to offset, where negative is before starting_date and positive is after start_date.

Returns

Date

Examples

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

useredate(11/20/2006, -6) returns 05/20/2006

Feature compatibility

The table below lists this function's compatibility with various features in Appian.
Feature Compatibility Note
Portals Partially compatible

Can be used with Appian Portals if it is connected using an integration and web API.

Offline Mobile Partially compatible

Can be used with offline mobile if it is loaded at the top of the form.

Sync-Time Custom Record Fields Incompatible
Real-Time Custom Record Fields Incompatible
Process Reports Incompatible

You cannot use this function to configure a process report.

Process Events Incompatible

You cannot use this function to configure a process event node, such as a start event or timer event.

Feedback