date list-timezone

For date.

List supported time zones.

Command Type

built-in

Signature

> date list-timezone {flags}

Input/output types:

input output
nothing table

Examples

Show time zone(s) that contains ‘Shanghai’.

> date list-timezone | where timezone =~ Shanghai
╭───┬───────────────╮
│ # │   timezone    │
├───┼───────────────┤
│ 0 │ Asia/Shanghai │
╰───┴───────────────╯

Ported from nushell/nushell.github.io. Copyright (c) 2021 Nushell Project. MIT License.