How do I convert the standard php timestamp e.g. 1278184362 into this format 2010-07-03 19:00:00 ?
needs to be exact...
Any ideas guys?
How do I convert the standard php timestamp e.g. 1278184362 into this format 2010-07-03 19:00:00 ?
needs to be exact...
Any ideas guys?
You could do it like this:
$timestamp = 1278184362;
$newDate = Date("Y-m-d H:i:s", $timestamp);