Hi all, I've got dates in the following formats e.g. August 05, 2008, 10:14 am (e.g. today's date) August 04, 2008, 7:08 am (e.g. yesterda's date) August 03, 2008, 9:08 am (e.g. in the past) I am trying to format these dates do I can display them like this Today at 10:14 am (today) Yesterday at 9:08 am (yesterday) August 03, 9:08 am (if its not today or yesterday then display the month and day and time only) Can anyone help with tips on how to achieve this ? Cheers -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php