![]() |
|
Thread Tools |
#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! No members have liked this post.
|
#2
|
||||
|
||||
Sounds like your new server has the wrong date set. Ask your server support and have them verify the serve date/time is correct, and what timezone it is set to, then adjust your Forums Date and Time settings accordingly.
No members have liked this post.
|
#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.
__________________
https://technidev.com - security, development, exploits, vBulletin
dave[at]technidev[dot]com Contact me for custom vBulletin 3/4 work & server/website management. No members have liked this post.
|
#4
|
||||
|
||||
What is your server? Dedicated?
__________________
No members have liked this post.
|
#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 14 Jul 2016 at 16:45 ---------------
Originally Posted by Dragonsys
what adjustments do i need to do in the forums?![]()
--------------- Added 15 Jul 2016 at 01:57 --------------- UP. Anyone? No members have liked this post.
|
#6
|
|||
|
|||
Originally Posted by chikuru
/admincp/options.php?do=options&dogroup=datetime![]()
Take a look at Default Time Zone Offset option. No members have liked this post.
|
#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.
__________________
Former vBulletin.org Staff Member
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before. W3Schools - Online vBulletin Manual If I post some CSS and don't say where it goes, put it in the additional.css template. I will NOT help via PM (you will be directed to post in the forums for help.) No members have liked this post.
|
#8
|
|||
|
|||
Originally Posted by Skyrider
Its GMT+10 Eastern Australia. What should I take note about it?![]()
Originally Posted by Lynne
Yes you are right.![]()
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.. No members have liked this post.
|
![]() |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 21:39.