Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Ask questions, find answers and collaborate at work with Stack Overflow for Teams.
Ask questions, find answers and collaborate at work with Stack Overflow for Teams. Explore Teams
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
How to use the date command to display, for example, 10-Mar-2010 01:01:53? What's the format string?
date
10-Mar-2010 01:01:53
man
See date manual:
date '+%d-%b-%Y %H:%M:%S'
Read the manpage (man date)!
man date
date +"%d-%b-%Y %T"
man
page broken? Is Google down?