nushell/docs/commands/date-to-timezone.md
JT bff81f24aa
Autogenerate missing docs (#3514)
* Autogenerate missing docs

* Update ansi.md

* Rename question mark command docs

* Delete empty?.md
2021-05-30 12:57:04 +12:00

549 B

date to-timezone

Convert a date to a given time zone.

Use 'date list-timezone' to list all supported time zones.

Usage

> date to-timezone <time zone> {flags} 

Parameters

Flags

  • -h, --help: Display this help message

Examples

Get the current date in UTC+05:00

> date now | date to-timezone +0500

Get the current local date

> date now | date to-timezone local

Get the current date in Hawaii

> date now | date to-timezone US/Hawaii