weekft
v1.0.0
Published
Get week days names from today.
Downloads
2
Readme
Week From Today
Get week days names from today.
SuperEasy
// Modules
var week = require('weekft');
var d = new Date();
var $today = d.getDay(); // ==> 5 (Friday)
// return week from $today
week( $today );
// or from string
week('Friday')
// ==> ['Friday', 'Saturday', 'Sunday', 'Monday', etc..] <==
Install
$ npm install weekft --global
API | week([input])
Type: number
or string
Return: array
Related
- Splash Cli - Beautiful unsplash photos as your wallpaper.
- Splash Desktop - Desktop version of Splash Cli
- ms-c Milliseconds Converter with NodeJS