DateTimeUtil::getTimeZoneOffset Method [AX 2012]
Gets the offset of the specified utcdatetime value to UTC by using the information in a Timezone enumeration value.
client server public static int getTimeZoneOffset(utcdatetime t, Timezone tz)
Run On
CalledParameters
- t
- Type: utcdatetime
The utcdatetime value for which to find the offset.
- tz
- Type: Timezone Enumeration
A Timezone enumeration value that indicates the time zone of the t parameter.
Return Value
Type: intAn integer that indicates the offset of the specified utcdatetime value to UTC.
Show: