$time holds the variable of a unix timestamp
now I have to change this into a real date
I tried this:
print "DATE_FORMAT(time,'%M, %D, %Y') as new_date";
print $new_date;
didn't work, any tips? thanks.
What you did there is SQL...not PHP, that's why it didn't work. Check out the date function.
Diego
thanks...but I'm confused a bit how to apply it:
I did it $time = time("Y-m-d\TH:i:s");
by default $time contains the timestamp and has to be formated...
I said the "date" function, no the "time" function...