Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

worldtimebuddy

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

worldtimebuddy

A command-line tool to display current time for different timezones

  • 0.1.2
  • PyPI
  • Socket score

Maintainers
1

worldtimebuddy

Get current time for all possible timezone using CLI (exclusively for developers)

Version - 0.1.2

Publish worldtimebudy

Usage: worldtimebuddy [OPTIONS]

  Display current time for all timezones, major timezones, or a specific
  timezone.

Options:
  --format TEXT         DateTime format string
  --major               Show only major timezones
  -tz, --timezone TEXT  Show time for a specific timezone
  --list                List all available timezones
  --help                Show this message and exit.

Usage:

1. Get all the timezones

`worldtimebuddy`

Africa/Abidjan                 2024-10-06 13:49:11
Africa/Accra                   2024-10-06 13:49:11
....


2. Get all timezone in particular format

`worldtimebuddy --format '%A, %B %d, %Y %I:%M %p %Z'`

Africa/Abidjan                 Sunday, October 06, 2024 01:49 PM GMT
Africa/Accra                   Sunday, October 06, 2024 01:49 PM GMT
Africa/Addis_Ababa             Sunday, October 06, 2024 04:49 PM EAT
...


3. Get major timezones

Currenlty only IST/PST/PDT/UTC

`worldtimebuddy --major`

UTC                            2024-10-06 13:50:26
PDT                            2024-10-06 06:50:26
Asia/Kolkata                   2024-10-06 19:20:26

UTC                            Sunday, October 06, 2024 01:50 PM UTC
PDT                            Sunday, October 06, 2024 06:50 AM PDT
Asia/Kolkata                   Sunday, October 06, 2024 07:20 PM IST


4. Listing all timezones

`worldtimebuddy --list`

Africa/Abidjan
Africa/Accra
Africa/Addis_Ababa
Africa/Algiers
...


5. Getting a particular timezone

`worldtimebuddy --timezone UTC`

UTC                            2024-10-06 13:52:37

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc