I think this is a stupid question, but it seems that I can not find the answer.
I have this timestamp: 1295598602.
In my php script, I have:
$ date = date ('Ym-d', 1295598602); $ hour = date ('H', 1295598602). ': 00';
This returns:
Date: 2011-01-21
Hour: 03:00
Now I went to the online conversion site to check this out. I used this one . But it seems that for this timestamp value it is
Fri 21 Jan 2011 08:30:02 GMT
Now which one is correct?
source
share