Well, Unix always uses the convention that months are numbered starting with 0, so you can index into an array of strings to get the name of the month. E.g., for "localtime": "$mon is the month itself, in the range 0..11 with 0 indicating January and 11 indicating December. This makes it easy to get a month name from a list:"
no subject
Date: 2009-10-05 01:35 am (UTC)