ntp
Fetch accurate time or current DateTime object from (NTP) Network Time Protocol server.
2.0.0
172K downloads/mo
#909 most downloaded on pub.dev
knezzz/ntp
What this package is like to depend on
Last release 5 years ago
no release in 18 months
Ships fairly regularly
a new release about every 3 months
Nearly every release is documented
notes for 11 of 12 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
12 releases · first in 2018
0 releases in the last 12 months
see the full history below
Release timeline
12 releases · Apr 2018 to Mar 2021Releases
latest 12-
2.0.029 Mar 2021 -
1.0.819 Jan 2021Release notes
Open source →- Change DNS resolver to DoH
- Change default lookupAddress to
time.google.com - You can change lookupAddress on
NTP.now()
-
1.0.702 Jul 2020Release notes
Open source →- Support for IPv6 and IPv4 addresses
- Fix timing on first getNtpOffset call
-
1.0.622 Apr 2020 -
1.0.513 Jan 2020 -
1.0.412 Jul 2019 -
1.0.325 Mar 2019 -
1.0.222 Oct 2018 -
1.0.122 Jul 2018 -
1.0.018 Jul 2018Release notes
Open source →-
Methods in NTP are now static.
-
Added now() for returning current DateTime object with calculated NTP offset
-
getNtpTime was renamed to getNtpOffset (since it is returning int offset in milliseconds)
-
-
0.0.208 Jun 2018Nothing published for this version
-
0.0.116 Apr 2018