NTPClient icon indicating copy to clipboard operation
NTPClient copied to clipboard

Connect to a NTP server

Results 102 NTPClient issues
Sort by recently updated
recently updated
newest added

add setPoolServerIP (accepts IP address), setPoolServerAddress (domain as well as IP address) methods Fixes https://github.com/arduino-libraries/NTPClient/issues/103

type: enhancement
topic: code

Added bellow two methods to return Date and Time information together as a struct and formatted datetime string with a given format. - getDateTime - getFormattedDateTime

type: enhancement
topic: code

timeOffset itself was already a long, but setTimeOffset only accepted integers. This should allow it to be set as long, so more timezones can be used.

type: imperfection
topic: code

Added error checks on the sending and receiving of the NTP packets.

type: imperfection
topic: code

I use the NTPClient library for an ESP8266 project, based on Wemos D1 mini. Normally, this library provides correct time data, with a maximum 2s deviation. But some days, let's...

type: imperfection

https://github.com/arduino-libraries/NTPClient/blob/master/NTPClient.cpp#L200 When `this->_udp->beginPacket(...)` fails because of DNS lookup failure or some other reason this causes the device to panic when it tries to read the result.

type: imperfection
topic: code

Hi! Please add setPoolServerIP. Needed it my application. thx and BR Rainer

type: enhancement
topic: code

overloaded function getDay, getHours, getMinutes and getSeconds with extern epoch time as argument added.

I have NTPClient on a remote ESP32 monitor that checks the time once a day normally. If it fails, it tries again in half an hour. It has been running...

type: imperfection