DateTimeUtil.removeTimeZoneOffset(utcdatetime, Timezone) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes the offset that is indicated by a Timezone enumeration value from the specified utcdatetime value.
public:
static Microsoft::Dynamics::Ax::Xpp::AxShared::utcdatetime removeTimeZoneOffset(Microsoft::Dynamics::Ax::Xpp::AxShared::utcdatetime _t, Dynamics::AX::Application::Timezone _tz);
public static Microsoft.Dynamics.Ax.Xpp.AxShared.utcdatetime removeTimeZoneOffset (Microsoft.Dynamics.Ax.Xpp.AxShared.utcdatetime _t, Dynamics.AX.Application.Timezone _tz);
static member removeTimeZoneOffset : Microsoft.Dynamics.Ax.Xpp.AxShared.utcdatetime * Dynamics.AX.Application.Timezone -> Microsoft.Dynamics.Ax.Xpp.AxShared.utcdatetime
Public Shared Function removeTimeZoneOffset (_t As utcdatetime, _tz As Timezone) As utcdatetime
Parameters
- _t
- Microsoft.Dynamics.Ax.Xpp.AxShared.utcdatetime
The Timezone enumeration value to remove.
- _tz
- Timezone
The Timezone enumeration value to remove.
Returns
Microsoft.Dynamics.Ax.Xpp.AxShared.utcdatetime
A utcdatetime value without a time zone offset.