Algosim documentation: AddDays

AddDays

Adds a specified number of days to a point in time.

Syntax

Description

AddDays(t, n) returns the point in time obtained by adding n whole days to t. If t is a DateTime structure or a timestamp, so is the result.

Examples

AddDays(date(2020, 05, 20), 5)
date.year: 2020
date.month: May
date.day: 25
time.hour: 0
time.minute: 0
time.second: 0
time.millisecond: 0