Partilhar via


DateTimeUtil.getSystemDateTime Method

Definition

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.

Applies to