offsetFromGMT() Function
This function may not be compatible with all features of Appian. For details, see the Feature Compatibility section below.

Function

offsetFromGMT( date, timezone )

Returns the offset (in minutes) from GMT of the given date and timezone.

Parameters

Keyword Type Description

date

Date

The date for which the offset should be returned.

timezone

Text

The string Id of the timezone for which the offset should be returned.

Returns

Number

Examples

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

offsetFromGMT(date(2005,12,13), "America/Los_Angeles") returns -480

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 Compatible
Custom Record Field Expressions Compatible
Open in Github Built: Fri, Aug 19, 2022 (02:35:57 PM)

On This Page

FEEDBACK