I need to grab upgrade dates from the db, could anyone explain the format for this? this is whats in the db 1387670400 and it is meant to be Dec 22, 2013.
They are stored as a UNIX timestamp, which allows conversion using time zones, etc. You'll need some sort of code to convert them: http://en.wikipedia.org/wiki/Unix_time