LJackson
03-17-2010, 03:48 PM
Hi All,
i am pulling out some dates from a db (which is stored as a date field) and am trying to get it to display on the page as e.g December 2008 instead of 2008-12-12.
i have looked on google and have found out that i need to use F and Y to format the date as i want which is fine, but what im not sure how to do is select the value to be formatted.
i have
echo $row['prodRelease'];
which prints out 2008-12-12 but i am unsure of how to format the date using the F Y???
any help appreciated :)
thanks
Luke
i am pulling out some dates from a db (which is stored as a date field) and am trying to get it to display on the page as e.g December 2008 instead of 2008-12-12.
i have looked on google and have found out that i need to use F and Y to format the date as i want which is fine, but what im not sure how to do is select the value to be formatted.
i have
echo $row['prodRelease'];
which prints out 2008-12-12 but i am unsure of how to format the date using the F Y???
any help appreciated :)
thanks
Luke