Lines Matching refs:time
29 * # date -s "`curl -sI http://nist.time.gov/timezone.cgi?UTC/s/0 \
32 * To view remote webserver date and time.
33 * $ curl -sI http://nist.time.gov/timezone.cgi?UTC/s/0 \
36 * Synchronising your computer clock via Internet time server usually relies
38 * time synchronisation but it does not work very well through a
42 * There is an indirect method. Since most webserver provide server time in
48 * 2. Webserver system time must in sync with the NTP time server,
49 * or at least provide an accurate time keeping.
51 * so there is no way to get very accurate time.
53 * as Round-Trip delay time is not taken into consideration.
55 * the Round-Trip delay time by half.
57 * GMT/UTC time. Therefore your computer timezone must be properly set.
85 #include <time.h>
104 "http://nist.time.gov/timezone.cgi?UTC/s/0",
219 fprintf(stderr, "SYNCTIME: Synchronising computer clock with time server"
223 fprintf(stderr, " --server=WEBSERVER Use this time server instead"
227 " with time server.\n");
296 if (*conf->timeserver == 0) /* Use default server for time information */
305 /* Calculating time diff between GMT and localtime */
306 tt = time(0);
319 /* Get current system time and local time */
345 if (!SetSystemTime(&SYSTime)) { /* Set system time */
346 fprintf(stderr, "ERROR: Unable to set system time.\n");