- Displays the current Local time & UTC(GMT) time.
- World current time
- Specified Timezone current time
-
Default(No ARG): "Local & GMT"
$ go run main.go Thu, 13 Feb 2020 23:47:58 JST : Local Thu, 13 Feb 2020 14:47:58 UTC : Etc/UTC
-
i18n: World Timezone List
$ go run main.go i18n Thu, 13 Feb 2020 15:52:01 CET : Europe/Andorra Thu, 13 Feb 2020 18:52:01 +04 : Asia/Dubai - snip - Thu, 13 Feb 2020 16:52:01 SAST : Africa/Johannesburg Thu, 13 Feb 2020 16:52:01 CAT : Africa/Lusaka Thu, 13 Feb 2020 16:52:01 CAT : Africa/Harare
-
"{TZ}": Specified Timezone
$ go run main.go "{TZ}"
- Ex: "America/Chicago"
$ go run main.go America/Chicago Thu, 13 Feb 2020 23:55:38 JST : Local Thu, 13 Feb 2020 08:55:38 CST : America/Chicago
- Ex: "America/Chicago"
-
help: This message. :-)
$ go run main.go help