Command
date
Explanation
date shows or sets the system date and time.
Examples
Show current date and time
date
Custom format
date "+%Y-%m-%d %H:%M:%S"
Show tomorrow's date
date -d "tomorrow"
date
date shows or sets the system date and time.
Show current date and time
date
Custom format
date "+%Y-%m-%d %H:%M:%S"
Show tomorrow's date
date -d "tomorrow"