DateTimeUtil.getSystemDateTime 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.
Gets the current system time as a utcdatetime value.
public:
static Microsoft::Dynamics::Ax::Xpp::AxShared::utcdatetime getSystemDateTime();
public static Microsoft.Dynamics.Ax.Xpp.AxShared.utcdatetime getSystemDateTime ();
static member getSystemDateTime : unit -> Microsoft.Dynamics.Ax.Xpp.AxShared.utcdatetime
Public Shared Function getSystemDateTime () As utcdatetime
Returns
Microsoft.Dynamics.Ax.Xpp.AxShared.utcdatetime
The current system time as a utcdatetime value.
Remarks
If the system time has a fixed value, it will be returned. Otherwise, the current date and time from the local computer will be returned.