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

  • persist
    Type: boolean
    A Boolean value that indicates whether the new value should be persisted.

See Also

Reference

DateTimeUtil Class