Originally posted as a Categorized Answer.
In reply to Re: How can I format the output of localtime? by Anonymous Monk in thread How can I format the output of localtime? by Anonymous Monk