← 返回命令列表

Linux command

gotz 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Show

gotz

Show

gotz [city-name]

Convert

gotz "[time]" [from-zone] [to-zone]

List

gotz --list

说明

gotz is a command-line tool for working with timezones. It shows current times in different locations and converts times between timezones, making it useful for teams working across multiple regions. The tool can display multiple timezones simultaneously and supports fuzzy matching for city names.

参数

-l, --list
List all supported timezones
-c, --config _FILE_
Configuration file path
-f, --format _FORMAT_
Time format string
-v, --version
Display version and exit
-h, --help
Display help and exit

FAQ

What is the gotz command used for?

gotz is a command-line tool for working with timezones. It shows current times in different locations and converts times between timezones, making it useful for teams working across multiple regions. The tool can display multiple timezones simultaneously and supports fuzzy matching for city names.

How do I run a basic gotz example?

Run `gotz` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -l, --list do in gotz?

List all supported timezones