DateTimeUtil::setUserPreferredTimeZone Method
Sets the preferred time zone of the user to the specified Timezone enumeration value.
Syntax
client server public static void setUserPreferredTimeZone(Timezone tz, [boolean persist])
Run On
ClientOrServer
Parameters
- tz
Type: Timezone Enumeration
The Timezone enumeration value to set.
- persist
Type: boolean
A Boolean value that indicates whether the new value should be persisted.