Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: themavesite on January 23, 2018, 09:39:48 AM

Title: poster_time to date and time?
Post by: themavesite on January 23, 2018, 09:39:48 AM
Really small question: things like poster_time are stored like this

1516655790

How do I "convert" this to a date and hour:minutes?
Title: Re: poster_time format in database?
Post by: Illori on January 23, 2018, 09:40:21 AM
it is a unix timestamp
http://www.onlineconversion.com/unix_time.htm
Title: Re: poster_time format in database?
Post by: themavesite on January 23, 2018, 09:57:12 AM
Quote from: Illori on January 23, 2018, 09:40:21 AM
it is a unix timestamp
http://www.onlineconversion.com/unix_time.htm

Thanks! You've helped me tremendously!