ESP32Time
用于在ESP32板上设置和检索内部RTC时间的Arduino库
在上可用
功能
setTime(30, 24, 15, 17, 1, 2021); // 17th Jan 2021 15:24:30
setTime(1609459200); // 1st Jan 2021 00:00:00
setTime(); // default 1st Jan 2021 00:00:00
getTime() // (String) 15:24:38
getDate() // (String) Sun, Jan 17 2021
getDate(true) // (String) Sunday, January 17 2021
getDateTime() // (String) Sun, Jan
1