1.0.11 • Published 5 years ago
current-week v1.0.11
Current week
Get the current week number.
Install
Install with npm:
$ npm install --save current-week
Usage
const currentWeek = require('current-week');
currentWeek.getWeekNumber(); // Example: '47'
currentWeek.getFirstWeekDay(); // Example: '19.10.'
currentWeek.getLastWeekDay(); // Example: '25.10.'
About
Author
Niels Lange
License
Copyright © 2018, Niels Lange. Released under the MIT license.