This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Adds the specified number of days to the value of the given DateTime.

Namespace: Smartsite.Runtime.Modules
Assembly:  Smartsite.Runtime.Modules (in Smartsite.Runtime.Modules.dll)

Syntax

C#Copy imageCopy Code
[(IsDeterministic = true)]
public static <> AddDays(
	 dt,
	double days
)
Visual Basic (Declaration)Copy imageCopy Code
<(IsDeterministic := True)> _
Public Shared Function AddDays ( _
	dt As , _
	days As  _
) As (Of )

Parameters

dt
DateTime
A DateTime.
days
Double
A number of whole and fractional days. This parameter can be negative or positive.

Return Value

A DateTime whose value is the sum of the date and time represented by this instance and the given number of days.

See Also

Advanced