offsetFromGMT( date, timezone )
Returns the offset (in minutes) from GMT of the given date and timezone.
Keyword | Type | Description |
---|---|---|
|
Date |
The date for which the offset should be returned. |
|
Text |
The string Id of the timezone for which the offset should be returned. |
Number
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 | Note |
---|---|---|
Portals | Partially compatible | Can be used with Appian Portals if it is connected using an integration and web API. |
Offline Mobile | Compatible | |
Sync-Time Custom Record Fields | Compatible | Can be used to create a custom record field that only evaluates at sync time. |
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. |
offsetFromGMT() Function