开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜