Hey,
I am trying to format a date, its not a timestamp, basically you select the day, month and year from a drop down and its put in to the database in 3 seperate fields..
so if i do
then echo $datef it displays right (17082007)Code:$datef = "$date_day"."$date_month"."$date_year" ;
now i try and format the output, and its wrong..
i get 17th February 1970Code:$date = date("jS F Y", $datef);
any ideas?



Reply With Quote



Bookmarks