Hi,
I have been using the following codes to convert time():
list($year, $month, $day, $hour) = explode(':', date('Y:n:d:H', time()));
$now_time = mktime($hour, 0, 0, $month, $day, $year);
It ouptuts 1119603600 for me to store in the database.
However, now i'm having problem to convert it back to 'readable' format..
For example, i want to pull out this '1119603600' from database and show to the user according to its time like [xx:xx:xx Mth Day Year] format.
How can i achieve these?
Any help / comments will be appreciated. Thank you.