stfc_boy
11-28-2007, 12:51 PM
Hi Guys,
I have a datetime column in mysql saved in the following format:
2007-05-22 09:03:17
How could I echo this information in a normal written date and time. I thought it would be something like:
<?php $newdate = strftime("%W %e %M %Y, %H:%i:%s", strtotime($row['published_web_date_time'])); ?>
But that does not seem to work?
Thanks
I have a datetime column in mysql saved in the following format:
2007-05-22 09:03:17
How could I echo this information in a normal written date and time. I thought it would be something like:
<?php $newdate = strftime("%W %e %M %Y, %H:%i:%s", strtotime($row['published_web_date_time'])); ?>
But that does not seem to work?
Thanks