Date formatting

Anyone know of a way to format a timestamp into readable format? Like January 1, 2008.


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.

More or less the same.

You can't get too far with it though. I believe you are expecting something like this "Thursday 25th of June 2009 05:08:55 AM", but no not really possible.

Forum Jump:

Users browsing this thread: