Sming Framework API
Sming - Open Source framework for high efficiency WiFi SoC ESP8266 native development with C++ language.
SystemClockClass Class Reference

Public Member Functions

DateTime now (TimeZone timeType=eTZ_Local)
 Get the current date and time. More...
 
void setTime (time_t time, TimeZone timeType=eTZ_Local)
 Set the system clock's time. More...
 
String getSystemTimeString (TimeZone timeType=eTZ_Local)
 Get current time as a string. More...
 
bool setTimeZone (double localTimezoneOffset)
 Sets the local time zone offset. More...