RX8581_REG_DM
tm->tm_mday = bcd2bin(date[RX8581_REG_DM] & 0x3F);
buf[RX8581_REG_DM] = bin2bcd(tm->tm_mday);