GetTime for all timezone using CLI

1 pointsposted 10 hours ago
by dubesar

3 Comments

gregjor

9 hours ago

Almost trivially easy in a shell one-liner or awk script. I can't think of a reason I would want to display date/time for 418 unique named timezones, but to get the date/time in a specific timezone:

  TZ=Asia/Bangkok date
  TZ=America/Los_Angeles date

dubesar

7 hours ago

Yes, I made it for personal use. Also there is a --major flag for just important timezones.

My usage is: `wtbm`