How Do I convert from a Time() to a DATE as YYYY-m-d h:i:s
Posted: Tue Feb 27, 2007 10:01 am
I'm using phpBB. The user_regdate is stored as time(), I think in GMT?
ex: 11691162602
I'm trying to convert back from this to a date that I can use in a normal DATETIME field, YYYY-m-d h:i:s.
ex: 2007-02-27 xx:xx:xx or whatever it is.
Any advice appreciated.
ex: 11691162602
I'm trying to convert back from this to a date that I can use in a normal DATETIME field, YYYY-m-d h:i:s.
ex: 2007-02-27 xx:xx:xx or whatever it is.
Any advice appreciated.