Spacetime – Lightweight Javascript Library to Handle Timezones

Spacetime is a lightweight way to manipulate, traverse, compare, and format dates and times across planet Earth.


  • Get/set dates and times in remote timezones
  • Global support for Daylight Savings Time, leap years + seconds, and hemispheres
  • Orient by quarter, season, month, and week
  • Remote date comparison
  • Written in ES2015 JS, published as ES5, tested for Node and the browser
  • Lightweight
  • Well tested, Apache 2.0 licensed