DT_YEARS
unsigned char buf[DT_YEARS + 1];
tm->tm_year = bcd2bin(buf[DT_YEARS]);
buf[DT_YEARS] = bin2bcd(tm->tm_year % 100);