PDA

View Full Version : Displaying date from mysql in php?


Tim Mousel
Sat 15th Jul '00, 7:25am
Hello,

I have a mysql field called expires and is the datetime type.

My problem is that when I call:
Your expiration date is <? echo $info['expires'] ?>

it displays:
Your expiration date is 2000-08-14 04:40:00

What do I do to make it display:
Your expiration date is Monday, August 14th at 4:40 am.

Any help would be appreciated!

Thanks,

Tim