A simple JavaScript API for producing an accurate, intuitive description of the timespan between two Date instances.
website + API
http://countdownjs.org/readme.html
syntax
var daysSinceLastWorkplaceAccident = countdown(507314280000, null, countdown.DAYS);
demo
http://output.jsbin.com/razoje
cdn
https://cdnjs.cloudflare.com/ajax/libs/countdown/2.6.0/countdown.min.js
license
Distributed under the terms of The MIT license.