npm.io
1.0.0 • Published 11 years ago

strtotime

Licence
MIT
Version
1.0.0
Deps
0
Vulns
0
Weekly
0
Stars
6

strtotime

Node StrToTime function.

This code is taken from the original project by blaxmas.

This is a simple fork of the original code but with the main difference that the Date.prototype scope is not extended.

Examples

var strtotime = require('strtotime');

strtotime('1 week');
strtotime('next friday');
strtotime('2015-01-05');
strtotime('27/02/2017');

Keywords