Display current date/time in various formats, convert between timezones, and perform date arithmetic calculations.
date-tool +"%Y-%m-%d %H:%M:%S"
# Current date in ISO format
date-tool +"%Y-%m-%d"
# Current time in 24-hour format
date-tool +"%H:%M:%S"
# Unix timestamp
date-tool +"%s"
共 1 个版本