This repository shows you how to build a digital clock using an ESP32 and a MAX7219 dual four digit LED display
The newer file makes use of the EZTIME library which manages summertime and timezones nicely.
See https://www.sabulo.com/sb/led/using-7-segment-led-displays-part-4-dual-quadruple-units/ for details on how to use the displays.