Returning a Well-Formatted Date-Time

Tuesday, 6 September, 2011

⨳ 1 minute read ⨳ 30 words ⨳ bashdatemacOS

in OS X, entering this in a terminal window

date "+%A, %d%h%Y%t%l:%M%p"

will return something like this

Tuesday, 06Sep2011    8:40PM

Returning a Well-Formatted Date-Time - September 6, 2011 - Richard Koopmann