The names in the broken-down tm structure should correspond to its values. The gmtime function shall return a pointer to a struct tm.