This document describes the design and implementation of a digital clock using a PIC18F252 microcontroller and DS1307 real-time clock (RTC) IC. The microcontroller communicates with the RTC over I2C to retrieve the current time. The time is displayed on a 16x2 LCD. The system provides accurate timekeeping even during power outages by using a battery backup for the RTC. Programming is done in C using MPLAB and Proteus is used for simulation. The clock's operation and programming details are explained. Potential applications include data logging devices that need to timestamp events.