DateTimeUtil.getDifference(utcdatetime, utcdatetime) 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 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.