In the automation control system of industry and agriculture, real-time clock (RTC) is a very important function.ESP8266 does not have an RTC module, but it can be calibrated through the software via the Internet.The ESP8266 provides functions to convert timestamps and calendars, allowing for easy time management.An alternative solution for controllers without network connectivity is to save timestamps in FLASH memory.