npm.io
1.1.0 • Published 8 years ago

is-wednesday

Licence
MIT
Version
1.1.0
Deps
0
Size
5 kB
Vulns
0
Weekly
0
DeprecatedThis package is deprecated

is-wednesday

A simple, powerful package to determine if a Date object is of the day Wednesday.

Docs

Simply require the package as so: const is_wednesday = require('is-wednesday');

And then pass a Date or millisecond value to it and receive a true/false.

is_wednesday() Returns if the current date is Wednesday.

is_wednesday([parse-able string]) Returns if the date string given is a Wednesday.

is_wednesday([millisecond value since Unix Epoch]) Returns if the date from millisecond value is a Wednesday.

Keywords