in reply to mkdir & date command
perldoc -f sprintf; or perhaps more germane perldoc POSIX and man 3 strftime.
Update: not that I'm repeating myself or anything . . . :) *cough*Re: Converting 24 hour time back into 12 hour*cough*