1.0.0 • Published 8 years ago
end-of-week v1.0.0
End of Week
Get the last day of a week (Sunday) according to UTC
Installation
npm install --save end-of-week
Usage
const endOfWeek = require('end-of-week')
const date = new Date('2016-06-21')
console.log(endOfWeek(date))
// => new Date('2016-06-26')
1.0.0
8 years ago