Lines Matching refs:time
25 * Set your system time from a remote HTTP server's Date: header.
35 * # date -s "`curl -sI https://nist.time.gov/timezone.cgi?UTC/s/0 \
38 * To view remote webserver date and time.
39 * $ curl -sI https://nist.time.gov/timezone.cgi?UTC/s/0 \
42 * Synchronising your computer clock via Internet time server usually relies
44 * time synchronization but it does not work well through a
48 * There is an indirect method. Since most webserver provide server time in
54 * 2. Webserver system time must in sync with the NTP time server,
55 * or at least provide an accurate time keeping.
57 * so there is no way to get an accurate time.
59 * as Round-Trip delay time is not taken into consideration.
61 * the Round-Trip delay time by half.
63 * GMT/UTC time. Therefore your computer timezone must be properly set.
93 #include <time.h>
115 "https://nist.time.gov/",
230 fprintf(stderr, "SYNCTIME: Synchronising computer clock with time server"
234 fprintf(stderr, " --server=WEBSERVER Use this time server instead"
238 " with time server.\n");
297 if(*conf->timeserver == 0) /* Use default server for time information */
316 /* Calculating time diff between GMT and localtime */
317 tt = time(0);
330 /* Get current system time and local time */
356 if(!SetSystemTime(&SYSTime)) { /* Set system time */
357 fprintf(stderr, "ERROR: Unable to set system time.\n");