mirror of
https://github.com/nushell/nushell.git
synced 2025-08-14 02:28:35 +02:00
Autogenerate missing docs (#3514)
* Autogenerate missing docs * Update ansi.md * Rename question mark command docs * Delete empty?.md
This commit is contained in:
32
docs/commands/date-to-timezone.md
Normal file
32
docs/commands/date-to-timezone.md
Normal file
@ -0,0 +1,32 @@
|
||||
# date to-timezone
|
||||
Convert a date to a given time zone.
|
||||
|
||||
Use 'date list-timezone' to list all supported time zones.
|
||||
|
||||
## Usage
|
||||
```shell
|
||||
> date to-timezone <time zone> {flags}
|
||||
```
|
||||
|
||||
## Parameters
|
||||
<time zone> time zone description
|
||||
|
||||
## Flags
|
||||
* -h, --help: Display this help message
|
||||
|
||||
## Examples
|
||||
Get the current date in UTC+05:00
|
||||
```shell
|
||||
> date now | date to-timezone +0500
|
||||
```
|
||||
|
||||
Get the current local date
|
||||
```shell
|
||||
> date now | date to-timezone local
|
||||
```
|
||||
|
||||
Get the current date in Hawaii
|
||||
```shell
|
||||
> date now | date to-timezone US/Hawaii
|
||||
```
|
||||
|
Reference in New Issue
Block a user