GetTime for all timezone using CLI
github.com
GetTime for all timezone using CLI
1–4 of 4 posts
Re: GetTime for all timezone using CLI
#2Almost 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 dateRe: GetTime for all timezone using CLI
#3Almost 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
Yes, I made it for personal use. Also there is a --major flag for just important timezones.
My usage is: `wtbm`
Re: GetTime for all timezone using CLI
#4Almost 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