Skip to main content

 

Planview Customer Success Center

GetTimeZone Function

GetTimeZone (obj as ObjectIdentifier) as ObjectIdentifier

Category: Date
Description: Returns the time zone of the organization, a user or a user group. Valid inputs for the obj parameter are a user entity and a user group entity. If no entity is defined, the time zone returned is that of the organization
Supported Context: FormulaField And BusinessRules
Parameters:  
obj as ObjectIdentifier(User, UserGroup) An optional field that represents a reference to either a user or a user group or a field that returns a user or a user group. If null this parameter will reference the organization
Returned value as ObjectIdentifier Returns the time zone set on the object specified in the "obj" parameter
Example #1

To get the time zone of the current user

GetTimeZone(CurrentUser())