Home Contents | # datetime:addSecs | Date/Time | Core4 Lua Commands

## SYNOPSIS

1. datetime:addSecs(n)
2. datetime:addDays(n)
3. datetime:addMonths(n)
4. datetime:addYears(n)

## DESCRIPTION

This set of functions is used to add (or subtract) a specific amount from the stored date/time. Please see the documentation of the time and date classes.

## SEE ALSO

clock.currentDateTime, clock.newDateTime, clock.setDateTime, clock.tzget, clock.tzset, datetime(), datetime:base90, datetime:date, datetime:day, datetime:daysTo, datetime:format, datetime:hour, datetime:isNull, datetime:isValid, datetime:isdst, datetime:minute, datetime:month, datetime:msec, datetime:offset, datetime:second, datetime:secsTo, datetime:set, datetime:setBase90, datetime:time, datetime:toLocal, datetime:toUTC, datetime:year, datetime:zone, tostring(datetime)