Samples
Forum
Support
Documentation
add
copy
datePart
dateToStr
dayStart
equal
getISOWeek
getUTCISOWeek
isHoliday
monthStart
strToDate
timePart
toFixed
weekStart
yearStart
Start
API Reference
Mixins
Date
Methods
add
adds the number of date units to date
object
add
(
object
date
,
number
inc
,
string
mode
);
Parameters
date
object
date object
inc
number
positive or negative number of units
mode
string
unit name: day, week, month, year, hour or minute
Returns
object
date object
Back to top