DateTimeUtil::setCompanyTimeZone Method [AX 2012]

Sets the Timezone enumeration value that is used by the current company.

client server public static void setCompanyTimeZone(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.
Show: