Hi All
Does anyone know how the date of a forum post is encoded in the database. I am looking at the "when" field in a bx_forum_post. record It contains a value like "1344843582".
Thank you so much!
Hi All Does anyone know how the date of a forum post is encoded in the database. I am looking at the "when" field in a bx_forum_post. record It contains a value like "1344843582".
Thank you so much!
|
Looks like a UNIX time stamp to me. https://www.deanbassett.com |
those are timestamp. seconds from 1 Jan 1970. Used to calculate the time. so much to do.... |
The real question: Is there an easy way to convert it to human-readable?
Figured something like Excel might have been capable, but it didn't turn out right last time I tried it. Skype: shawn.nelson |
That is done with the PHP date function. Most php date and time functions use a unix time stamp which is why i use them in pretty much all the work i do as well. https://www.deanbassett.com |
Thank you hugely, Deano! The manual conversion tool you have provided is solving my problem. I really appreciate your fast response.
Blue skies! |