Returns a new
DateTime that adds the specified number of days to the value of this instance.
Namespace: SystemAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public DateTime AddDays(
double value
)
Parameters
- value
- Type: SystemDouble
A number of whole and fractional days. The value parameter can be negative or positive.
Return Value
Type:
DateTimeAn object whose value is the sum of the date and time represented by this instance and the number of days represented by
value.
Exceptions See Also