Raised This Month: $51 Target: $400
 12% 

"thetime" is showing bad current time...


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
linuxas
Member
Join Date: Sep 2013
Old 11-17-2013 , 13:15   "thetime" is showing bad current time...
Reply With Quote #1

Hello guys. I have a little problem. When someone writes in chat 'thetime", it shows 2hours bigger time than it realy is... example: real time is 8:20pm, but "thetime" shows 10:20pm... Date it shows correctly... Please help. Thank you Sorry for bad english.

Last edited by linuxas; 11-17-2013 at 13:16.
linuxas is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 11-17-2013 , 13:22   Re: "thetime" is showing bad current time...
Reply With Quote #2

That means that the system clock is off. You either need to change the system clock to match what you are expecting or you can change the plugin to adjust it for you.
__________________
fysiks is offline
linuxas
Member
Join Date: Sep 2013
Old 11-17-2013 , 13:32   Re: "thetime" is showing bad current time...
Reply With Quote #3

Oh... I dont even thinked about that. Im runing servers on vps with linux, so i will need to google a command to change time on the system. thank you.
linuxas is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 11-18-2013 , 12:52   Re: "thetime" is showing bad current time...
Reply With Quote #4

You may want to look up the ntpdate command or ntp daemon... of course, that's assuming that (unlike NFOServers) your server time zone is set correctly.

(I wouldn't be calling out NFOServers if their support hadn't refused to fix the time or time zone on a non-VPS server I had... seriously, don't set the time zone to PST but set the actual time to CST)

On Debian/Ubuntu, it's dpkg-reconfigure tzdata to change the time zone btw
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 11-18-2013 at 12:58.
Powerlord is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:25.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode