date list-timezone for date
List supported time zones and their current offsets.
Command Type
built-in
Signature
> date list-timezone {flags}
Input/output types:
| input | output |
|---|---|
| nothing | table<timezone: string, offset: string> |
Examples
Show time zone(s) that contains 'Shanghai'.
> date list-timezone | where timezone =~ Shanghai
╭───┬───────────────┬────────╮
│ # │ timezone │ offset │
├───┼───────────────┼────────┤
│ 0 │ Asia/Shanghai │ +08:00 │
╰───┴───────────────┴────────╯