mirror of
https://github.com/nushell/nushell.git
synced 2024-12-01 12:54:16 +01:00
bff81f24aa
* Autogenerate missing docs * Update ansi.md * Rename question mark command docs * Delete empty?.md
467 B
467 B
date format
Format a given date using the given format string.
Usage
> date format <format> {flags}
Parameters
<format>
strftime format
Flags
- -h, --help: Display this help message
- -t, --table: print date in a table
Examples
Format the current date
> date now | date format '%Y.%m.%d_%H %M %S,%z'
Format the current date and print in a table
> date now | date format -t '%Y-%m-%d_%H:%M:%S %z'