ESP32 NTP MQTT Timestamp: Add Accurate Time to Every Message
Sync the ESP32 clock with NTP, format ISO 8601 and epoch-millisecond timestamps, and attach them to MQTT payloads so readings keep their true capture time even when they are published late.




























