Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (testpypi.python.org).
Help us improve Python packaging - Donate today!

A command-line utility to convert timestamps between UTC and local timezones.

Project Description

whenis is a command-line utility that converts timestamps between UTC and local timezones.

Installation

pip install whenis

Usage

$ whenis -h
usage: whenis [-h] [-f TIMEZONE] [-t TIMEZONE] [timestamp [timestamp ...]]

Convert timestamps between UTC and local timezones.

positional arguments:
  timestamp             timestamp to be converted

optional arguments:
  -h, --help            show this help message and exit
  -f TIMEZONE, --from TIMEZONE
                        timezone to convert from (default: utc)
  -t TIMEZONE, --to TIMEZONE
                        timezone to convert to (default: local)

$ whenis -f utc -t local "12/7/16 1:28:36.156 AM"
Tue 6 Dec 2016, 5:28:36 PM -08:00

$ whenis 2016-12-07 01:28:36,156
Tue 6 Dec 2016, 5:28:36 PM -08:00

$ whenis -f local -t utc 6 Dec 2016, 5:28:36 PM
Wed 7 Dec 2016, 1:28:36 AM +00:00

License

MIT

Release History

Release History

This version
History Node

0.0.1.dev2

History Node

0.0.1.dev1

History Node

0.0.1.dev0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
whenis-0.0.1.dev2.tar.gz (1.9 kB) Copy SHA256 Checksum SHA256 Source Dec 7, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting