I rarely ever use the date command, but when I need it I almost always struggle to get the right incantation. So, wrote a blog post for easy reference.

Do you use a cheatsheet as well?

you are viewing a single comment's thread
view the rest of the comments
[+] -6 points 2 years ago (2 children)

date is the command for setting the system date and time from the command line. Nothing to do with formatting, beyond the fact that it presumably applies system locale settings when echoing date-time info.

  • source
  • parent
  • hideshow 4 child comments