NTPManager
Network time synchronization#include <NTPManager.h>
Static Public Member Functions | |
| static void | init () |
| static void | init (long gmtOffsetSec, int dstOffsetSec=0) |
| static bool | isTimeSet () |
| static bool | isInitialized () |
| static String | getCurrentDateTime () |
| static String | getCurrentDate () |
| static String | getCurrentTime () |
| static void | printCurrentTime () |
| static String | getCurrentDateTimeUTC () |
| static String | getCurrentDateUTC () |
| static String | getCurrentTimeUTC () |
| static void | printCurrentTimeUTC () |
| static time_t | getEpochTime () |
| static void | setTimezone (long gmtOffsetSec, int dstOffsetSec=0) |
| static void | setNTPServers (const char *server1, const char *server2=nullptr, const char *server3=nullptr) |
Member Function Documentation
◆ getCurrentDate()
|
static |
◆ getCurrentDateTime()
|
static |
◆ getCurrentDateTimeUTC()
|
static |
◆ getCurrentDateUTC()
|
static |
◆ getCurrentTime()
|
static |
◆ getCurrentTimeUTC()
|
static |
◆ getEpochTime()
|
static |
◆ init() [1/2]
|
static |
◆ init() [2/2]
|
static |
◆ isInitialized()
|
static |
◆ isTimeSet()
|
static |
◆ printCurrentTime()
|
static |
◆ printCurrentTimeUTC()
|
static |
◆ setNTPServers()
|
static |
◆ setTimezone()
|
static |