tmp1 = (uxt/(SEC_IN_YEAR*4+SEC_IN_DAY));//leaps cycletmp = (uxt%(SEC_IN_YEAR*4+SEC_IN_DAY))/SEC_IN_YEAR;year = UNIX_YEAR + tmp1*4 + tmp;