Linux Terminal Glossary
›
Administration
date '+%Y-%m-%d %H:%M:%S'
Category:
Administration
date '+%Y-%m-%d %H:%M:%S'
Copy command
Display date in a custom format
Shows the date and time in a custom format. %Y=4-digit year, %m=month, %d=day, %H=hour, %M=minute, %S=second.
Looking for more?
Search all 7,657 commands
— works offline, in English or Spanish, and fixes typos.