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.
精彩评论