The DS1307 serial real-time clock and the Data is transferred in Serial via I2C. The clock is capable of providing seconds, minutes, hours, day, date, month, and year data. The clock operates in either the 24-hour or 12- hour format with AM/PM indicator. In addition, the end of the month date is automatically adjusted for months with fewer than 31 days, including corrections for leap year. The DS1307 has a built-in power-sense circuit that detects power failures and automatically switches to the backup power supply.