DateTimeUtil::removeTimeZoneOffset Method [AX 2012]

Removes the offset that is indicated by a Timezone enumeration value from the specified utcdatetime value.

client server public static utcdatetime removeTimeZoneOffset(utcdatetime t, Timezone tz)

Run On

Called

Parameters

t
Type: utcdatetime
A utcdatetime value from which to remove the time zone offset.
tz
Type: Timezone Enumeration
The Timezone enumeration value to remove.

Return Value

Type: utcdatetime
A utcdatetime value without a time zone offset.
Show: