25.06.2009, 00:44
That's a good start but it uses the current time, so it knows the day and month and all. I'm looking for something that can be handed a timestamp, like PHP's date(). Also that code snippet would be more efficient with an array of month names rather than a control structure.