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
weekStart
gets the week start
object
weekStart
(
object
date
);
Parameters
date
object
date object
Returns
object
date object adjusted to the start of the week
Back to top