I'm modifying a script (xmb forum) and I was wondering if anybody knew what format this date is in: 1017629457 which is pulled off a mysql database (not sure if this is relavent.) How could I unformat this? Thanks all,
carlos
It's probably a timestamp. Use the date() or strftime() functions to format it.
Diego
That is a time stamp. Use this...
$timestamp = "1017629457"; $date = date("m-d-Y", $timestamp); print $date;
For more options, visit... http://www.php.net/manual/en/function.date.php
Ron