开发者

How to check that systemtime on web server is configured OR not?

开发者 https://www.devze.com 2023-01-31 01:08 出处:网络
How do I check that system time is configured OR not correctly on the web host server? I need to check its sync with twitter server time. How do I do that? I checked by running \"strftime(\'%c\')\" on

How do I check that system time is configured OR not correctly on the web host server? I need to check its sync with twitter server time. How do I do that? I checked by running "strftime('%c')" on web server that its time is either -7 hours OR +5 different hours my systemtime.

EDIT

OK, I checked time zone as Piskvor mentioned & Web server has 'UTC/GMT -5 hours' whi开发者_JAVA百科le my system is in 'UTC/GMT +2 hours'. my problem is that I need to sure the clock on the server is properly synced with NTP. How do I do that ? I am using Windows XP.


ntpq -p

You should see a list of your configured clock sources, with "*" indicating a clock source selected as the source for synchronisation.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号