9 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
12 #include <ipxe/time.h>
14 /** Broken-down time */
22 /** Day of month [1,31] */
24 /** Month of year [0,11] */
26 /** Years since 1900 */
28 /** Day of week [0,6] (Sunday=0) */
30 /** Day of year [0,365] */
32 /** Daylight savings flag */
37 * Get current time in seconds since the Epoch
39 * @v t Time to fill in, or NULL
40 * @ret time Current time
42 static inline time_t time ( time_t *t ) {
51 extern time_t mktime ( struct tm *tm );