Forrest logo
back to the date tool

date:ai:bcb21

Display the current date and time in JSON format
$ date '+{"date": "%Y-%m-%d", "time": "%H:%M:%S"}'
try on your machine

Display the current date and time in JSON format

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.

Questions that are answered by this command:

  • show date and time?
back to the date tool