tz

command module
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 13, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

README

tz

GoDoc Build Status Coverage Status Go Report Card Apache 2 License

Timezone conversion CLI

Install

Download the latest release for your architecture.

Usage

$ tz $(date)
America/Chicago  Tue Feb 13 13:09:57 CST 2024
UTC              Tue Feb 13 19:09:57 UTC 2024

tz reads the TZ=America/Chicago environmental variable too and supports multiple output timezones.

$ tz -to America/New_York,America/Belize $(date)
America/Belize    Tue Feb 13 11:26:21 CST 2024
America/Chicago   Tue Feb 13 11:26:21 CST 2024
America/New_York  Tue Feb 13 12:26:21 EST 2024
UTC               Tue Feb 13 17:26:21 UTC 2024

Supported and tested platforms

  • 64-bit Linux (Ubuntu, Debian), macOS, and Windows

License

Apache License 2.0 - See LICENSE for details.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL