15 tm.tm_mon = 10; /* 0..11, so this is november */
16 tm.tm_year = 102; /* year - 1900, so this is 2002 */
17 tm.tm_wday = 2; /* Tuesday */
20 /* Convert this broken down time into a time_t and back */
22 printf ("Test passes if the following lines are\n"
24 printf ("3DD173D1 - Tue Nov 12 21:34:09 2002\n");
25 printf ("%08lX - %s", t, asctime (&tm));
26 printf ("%08lX - %s", t, asctime (gmtime (&t)));