SystemClock.h
Go to the documentation of this file.
bool setTimeZoneOffset(int seconds)
Sets the local time zone offset.
String getSystemTimeString(TimeZone timeType=eTZ_Local) const
Get current time as a string.
Time< T > time(Unit unit, T value)
Helper function to create a Time and deduce the type.
Definition: NanoTime.h:429
bool isSet() const
Determine if setTime() has been called yet.
Definition: SystemClock.h:86
Definition: SystemClock.h:34
int getTimeZoneOffset() const
Get the current time zone offset.
Definition: SystemClock.h:78
bool setTimeZone(float localTimezoneOffset)
Set the local time zone offset in hours.
Definition: SystemClock.h:70
bool setTime(time_t time, TimeZone timeType)
Set the system clock's time.