Home
last modified time | relevance | path

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

/glibc-2.36/time/
Dtest_time.c90 struct tm *loctime; in main() local
94 loctime = localtime (&curtime); in main()
96 fputs (asctime (loctime), stdout); in main()
98 strftime (buffer, SIZE, "Today is %A, %B %d.\n", loctime); in main()
100 strftime (buffer, SIZE, "The time is %I:%M %p.\n", loctime); in main()
103 loctime->tm_year = 72; in main()
104 loctime->tm_mon = 8; in main()
105 loctime->tm_mday = 12; in main()
106 loctime->tm_hour = 20; in main()
107 loctime->tm_min = 49; in main()
[all …]
/glibc-2.36/manual/examples/
Dstrftim.c28 struct tm *loctime; in main() local
34 loctime = localtime (&curtime); in main()
37 fputs (asctime (loctime), stdout); in main()
41 strftime (buffer, SIZE, "Today is %A, %B %d.\n", loctime); in main()
43 strftime (buffer, SIZE, "The time is %I:%M %p.\n", loctime); in main()