date to-table
for date
Convert the date into a structured table.
Signature
> date to-table
Examples
Convert the current date into a table.
> date to-table
Convert the date into a table.
> date now | date to-table
Convert a given date into a table.
> 2020-04-12T22:10:57.000000789+02:00 | date to-table
╭───┬──────┬───────┬─────┬──────┬────────┬────────┬────────────┬──────────╮
│ # │ year │ month │ day │ hour │ minute │ second │ nanosecond │ timezone │
├───┼──────┼───────┼─────┼──────┼────────┼────────┼────────────┼──────────┤
│ 0 │ 2020 │ 4 │ 12 │ 22 │ 10 │ 57 │ 789 │ +02:00 │
╰───┴──────┴───────┴─────┴──────┴────────┴────────┴────────────┴──────────╯