Compartir a través de


DateTimeUtil.addDays(utcdatetime, Int32) Method

Definition

Adds the specified number of days to a utcdatetime value.

public:
 static Microsoft::Dynamics::Ax::Xpp::AxShared::utcdatetime addDays(Microsoft::Dynamics::Ax::Xpp::AxShared::utcdatetime _t, int _value);
public static Microsoft.Dynamics.Ax.Xpp.AxShared.utcdatetime addDays (Microsoft.Dynamics.Ax.Xpp.AxShared.utcdatetime _t, int _value);
static member addDays : Microsoft.Dynamics.Ax.Xpp.AxShared.utcdatetime * int -> Microsoft.Dynamics.Ax.Xpp.AxShared.utcdatetime
Public Shared Function addDays (_t As utcdatetime, _value As Integer) As utcdatetime

Parameters

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

The number of days to add.

_value
Int32

The number of days to add.

Returns

Microsoft.Dynamics.Ax.Xpp.AxShared.utcdatetime

A new utcdatetime value.

Remarks

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

Applies to