AlgoSim
Homepage | Screenshots | Gallery of Visualisation | User's Guide | Function Reference | Download | FAQ | Support | Bugs and Solutions | Donate

Reference: addDays

addDays(d, n) returns the date and time structure corresponding to n days after the date structure d.

Example:

addDays(encodeDate(2010, 06, 19), -1)

year: 2010
month: 6
day: 18
weekOfYear: 24
dayOfYear: 169
dayOfWeek: 5
hour: 0
minute: 0
second: 0
millisecond: 0