Convert the format date from yyyy-mm-dd to dd-mm-yyy
Posted: Fri Aug 07, 2009 11:20 pm
i'm new php pprogrammer.
I need to help, how to convert the date format from yyyy-mm-dd to dd-mm-yyy.
I want to show on the query result as format dd-mm-yyy.
This is my output query:
<?php echo $row['date_posted'];?> the result is 2009-07-07
Please help me;
Thank you.
I need to help, how to convert the date format from yyyy-mm-dd to dd-mm-yyy.
I want to show on the query result as format dd-mm-yyy.
This is my output query:
<?php echo $row['date_posted'];?> the result is 2009-07-07
Please help me;
Thank you.