I'm having some trouble with formatting a Unix time stamp. I am retreiving a timestamp from a MySQL database, for example:
1292318785 - Tue, 14 Dec 2010 09:26:25
I am formatting this using:
Code: Select all
$mytime=date('H:i:s', $unixtime);3:26:25 - which is 6 hours behind. It seems there is an offset?
Any advice would be apprecaited.
Thanks,
Rob.