How to use the subWeeks function from date-fns

Find comprehensive JavaScript date-fns.subWeeks code examples handpicked from public code repositorys.

176
177
178
179
180
181
182
exports.subMillisecondsImpl = dateFns.subMilliseconds
exports.subMinutesImpl = dateFns.subMinutes
exports.subMonthsImpl = dateFns.subMonths
exports.subQuartersImpl = dateFns.subQuarters
exports.subSecondsImpl = dateFns.subSeconds
exports.subWeeksImpl = dateFns.subWeeks
exports.subYearsImpl = dateFns.subYears
fork icon0
star icon2
watch icon1

+ 16 other calls in file

Other functions in date-fns

Sorted by popularity

function icon

date-fns.format is the most popular function in date-fns (3838 examples)