Searched refs:loctime (Results 1 – 3 of 3) sorted by relevance
91 struct tm *loctime; in main() local95 loctime = localtime (&curtime); in main()97 fputs (asctime (loctime), stdout); in main()99 strftime (buffer, SIZE, "Today is %A, %B %d.\n", loctime); in main()101 strftime (buffer, SIZE, "The time is %I:%M %p.\n", loctime); in main()104 loctime->tm_year = 72; in main()105 loctime->tm_mon = 8; in main()106 loctime->tm_mday = 12; in main()107 loctime->tm_hour = 20; in main()108 loctime->tm_min = 49; in main()[all …]
259 struct tm *loctime = localtime(¤t); in Pulse() local261 short hours = loctime->tm_hour; in Pulse()262 short minutes = loctime->tm_min; in Pulse()263 short seconds = loctime->tm_sec; in Pulse()
636 time_t loctime; /* The time_t value of local time. */ local643 loctime = mkgmtime(tm);644 if (loctime == -1) {657 then = loctime;661 (tzoffset_adj = loctime - mkgmtime(ltm)) == 0L)