Partilhar via


DateTimeUtil.getDifference(utcdatetime, utcdatetime) Method

Definition

Gets the number of seconds between two specified utcdatetime values.

public:
 static long getDifference(Microsoft::Dynamics::Ax::Xpp::AxShared::utcdatetime _t1, Microsoft::Dynamics::Ax::Xpp::AxShared::utcdatetime _t2);
public static long getDifference (Microsoft.Dynamics.Ax.Xpp.AxShared.utcdatetime _t1, Microsoft.Dynamics.Ax.Xpp.AxShared.utcdatetime _t2);
static member getDifference : Microsoft.Dynamics.Ax.Xpp.AxShared.utcdatetime * Microsoft.Dynamics.Ax.Xpp.AxShared.utcdatetime -> int64
Public Shared Function getDifference (_t1 As utcdatetime, _t2 As utcdatetime) As Long

Parameters

_t1
Microsoft.Dynamics.Ax.Xpp.AxShared.utcdatetime

The second utcdatetime value.

_t2
Microsoft.Dynamics.Ax.Xpp.AxShared.utcdatetime

The second utcdatetime value.

Returns

The number of seconds between the two specified utcdatetime values.

Applies to