Adds days to a DateTime expression and returns the result.
DateTime AddDays(DateTime date; double/int days)
date |
A date time to add days to. |
days |
A number of whole or fractional days to add. |
Example
AddDays(Date("2023-12-31");1)
Returns the date time value of 2024-01-01 00:00:00.