The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
incorrect date
We recently move to a new server, and the date is incorrect. Now the posts(possible other data as well like PM, etc) have incorrect dates (but correct time)
How can we correct it using db query? The date is 2 days advanced.. Its still incorrect at the moment.. Thanks! |
#2
|
||||
|
||||
Quote:
|
#3
|
|||
|
|||
If you're on a VPS/dedicated server, tell your host or whoever manages the server to setup a NTP client with the right timezone.
|
#4
|
||||
|
||||
What is your server? Dedicated?
|
#5
|
|||
|
|||
Its a dedicated server.
Do I need to do anything from the database? After I fix the server date, the dates in the forum is still correct like the thread date.. So I immediately reverted the settings and let the incorrect date remain until we have the right solution.. --------------- Added [DATE]1468514759[/DATE] at [TIME]1468514759[/TIME] --------------- Quote:
--------------- Added [DATE]1468547820[/DATE] at [TIME]1468547820[/TIME] --------------- UP. Anyone? |
#6
|
|||
|
|||
Quote:
Take a look at Default Time Zone Offset option. |
#7
|
||||
|
||||
If you fix the time on the server, it doesn't fix the time in the database since the database got it's time from the server originally. It will only fix the time on any posts made after you fixed the time on the server.
|
#8
|
|||
|
|||
Quote:
Quote:
Can you give me the database query to fix the incorrect date in the database? All post from July 07 2016 to latest post should have minus 4 days date. The time should remain the same.. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|