次の方法で共有


DateTimeUtil.addSeconds(utcdatetime, Int64) Method

Definition

Adds the specified number of seconds to a utcdatetime value.

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

Parameters

_t
Microsoft.Dynamics.Ax.Xpp.AxShared.utcdatetime

The number of seconds to add.

_value
Int64

The number of seconds to add.

Returns

Microsoft.Dynamics.Ax.Xpp.AxShared.utcdatetime

A new utcdatetime value.

Remarks

If the value of the value parameter is negative, seconds will be subtracted.

Applies to