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