Simple Machines Community Forum

SMF Support => SMF 2.1.x Support => Topic started by: Chyandour on January 09, 2023, 10:31:12 AM

Title: Post time and date in the future.
Post by: Chyandour on January 09, 2023, 10:31:12 AM
Hi,

I have 2.1.3 installed, and it has been working fine up until now. Yesterday I made two posts and the time of posting is showing as 3 months into the future "Last post: Mar 08, 2023, 08:52 PM".

Any ideas as to what is making this happen?
Title: Re: Post time and date in the future.
Post by: Kindred on January 09, 2023, 10:48:51 AM
your server system time would likely be incorrect
Title: Re: Post time and date in the future.
Post by: Chyandour on January 09, 2023, 11:59:25 AM
Quote from: Kindred on January 09, 2023, 10:48:51 AMyour server system time would likely be incorrect

Many thanks for the reply, sorted now.

Can you tell me how the poster_time column in the database works, in so much as how does the date relate to the number in the poster_time column. It contain numbers like 1673283027 which on the surface do not seem to correspond to the date in any way.
Title: Re: Post time and date in the future.
Post by: Kindred on January 09, 2023, 12:01:48 PM
https://www.unixtimestamp.com/
Title: Re: Post time and date in the future.
Post by: Chyandour on January 09, 2023, 12:09:48 PM
Quote from: Kindred on January 09, 2023, 12:01:48 PMhttps://www.unixtimestamp.com/

Many thanks, useful site. All post times now corrected. .. Thanks again.
Title: Re: Post time and date in the future.
Post by: Steve on January 09, 2023, 12:37:35 PM
Marking solved then.