I sort of cleaned up what I had, and now here is what I have.
Features:
- Date and time display, crammed into one line of a 16x2 character LCD
- Date and time manually settable by means of two push buttons
- Support for an external RTC, but will still run without an RTC
Limitations:
- No support for Daylight Saving Time
- No sanity checking of dates (it will happily let you set the date to Feb. 30)
- No alarms, no bells, no whistles, just the date and time
settable_clock_optional_rtc.ino (15.3 KB)