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: Fri, Oct 15, 2021 (09:55:45 AM)

On This Page

FEEDBACK