usertimezone() Function

Function

usertimezone( user )

Returns the site primary timezone if the application is configured to override user preferences; otherwise it returns the preferred timezone of the given user or the site primary timezone if the user doesn't have a preference set.

Parameters

Keyword Type Description

user

user

The user (or the username of the user) for whom the timezone should be returned.

Returns

Text

Usage considerations

The timezone is returned as a string, such as "GMT" or "EST".

Examples

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

usertimezone(pv!user) returns GMT

Open in Github Built: Tue, May 23, 2023 (06:12:33 PM)

On This Page

FEEDBACK