This is kind of a bit overkill but I'm lazy when it comes to dates and times:
You have the year, month and day in the first line and you can do some simple operations on it then use a hash x-ref for month number to month name to format it correctly. I just prefer to abstract all that using something like Time:

iece or Class:

ate.
~Charlie