01 Overview
SNTP (Simple Network Time Protocol) lets the ESP32 fetch accurate UTC time over Wi-Fi after connecting, eliminating the need for an external RTC chip.
Use when: timestamps, TLS certificate validation, scheduled jobs, data logging, or any application requiring accurate time.
Skip when: fully offline calendar accuracy is required (add a battery-backed RTC).
How it works: The ESP32 connects to an NTP server, sends a request, and parses the response to obtain the current time.
Advantages: No extra hardware, low cost, high accuracy (typically within milliseconds).
Caveat: Depends on network connectivity; time cannot be updated offline, so plan for offline scenarios.