Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

convert time zones from the command-line

branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

README.md

Timezone

A handy time zone converter.

Installation

You need Ruby. This is developed on 1.9.2, but it should work on 1.8.7. It depends on TZInfo.

Then, just add the timezone file to your path.

Usage

Convert a time from one zone to another.

$ timezone 4:30 MST PDT
3:30
$ timezone 3:30 PDT MST
4:30

The to time zone defaults to your system's current time zone.

$ timezone 3:30 PDT
4:30

License

See LICENSE.

Something went wrong with that request. Please try again.