Menu
I’m trying to format a date to make it a bit more user friendly, but regardless of the timestamp I use, it outputs the same wrong date. Here is part of the line which is giving me issues:
[CODE]date(“j M Y G:i:s”, $row[‘TS’]) .”</td><td>”.$row[‘TS’]
TS is of course my timestamp field retrieved from mySQL. Here is a sample of what I am getting back:
31 Dec 1969 19:33:29 2009-08-20 15:03:36
I actually googled the date yesterday, found a post totally unrelated but had the same TS down to the second. The post said the date I’m getting back is code for an invalid timestamp. I don’t know if that’s true or not.