Home
last modified time | relevance | path

Searched refs:loctime (Results 1 – 3 of 3) sorted by relevance

/haiku/src/tests/system/libroot/posix/
H A Dtest_time.c91 struct tm *loctime; in main() local
95 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 …]
/haiku/src/apps/clock/
H A Dcl_view.cpp259 struct tm *loctime = localtime(&current); in Pulse() local
261 short hours = loctime->tm_hour; in Pulse()
262 short minutes = loctime->tm_min; in Pulse()
263 short seconds = loctime->tm_sec; in Pulse()
/haiku/src/bin/unzip/
H A Dtimezone.c636 time_t loctime; /* The time_t value of local time. */ local
643 loctime = mkgmtime(tm);
644 if (loctime == -1) {
657 then = loctime;
661 (tzoffset_adj = loctime - mkgmtime(ltm)) == 0L)