10 minutes from now in 3 hours
at 12:30pm tomorrow night at 5
sunday night next week wednesday
last month in 2 months
friday at 2pm next week saturday morning


Install with NPM:

  npm install date.js

In the browser (standalone):


date(str, [offset])

Create a Date from a str. You may also supply an optional offset to the starting date. offset defaults to the current date and time (ie. new Date).


To run the tests, you'll need node.js:

  npm install
  make test


MIT, go wild.