strtotime

1.0.0 • Public • Published

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');

Readme

Keywords

Package Sidebar

Install

npm i strtotime

Weekly Downloads

2,146

Version

1.0.0

License

MIT

Last publish

Collaborators

  • hash-bang