date
for date
Date-related commands.
Signature
> date {flags}
Input/output types:
input | output |
---|---|
nothing | string |
Notes
You must use one of the following subcommands. Using this command as-is will only produce this help message.
Subcommands:
name | type | usage |
---|---|---|
date format | Builtin | Removed command: use format date instead |
date humanize | Builtin | Print a 'humanized' format for the date, relative to now. |
date list-timezone | Builtin | List supported time zones. |
date now | Builtin | Get the current date. |
date to-record | Builtin | Convert the date into a record. |
date to-table | Builtin | Convert the date into a structured table. |
date to-timezone | Builtin | Convert a date to a given time zone. |