Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • doesn't seem to work. I get a date at the begining of the timestamp era. Commented Jul 26, 2010 at 17:34
  • It is important to understand that you need to do a $my_t["year"] -= 1970 to get the correct number of years. You also need to subtract your hour difference from GMT to get the hours right. You need to subtract 1 from month and date as well. Commented Feb 21, 2012 at 7:55