ntpdatetime package

Submodules

ntpdatetime.config module

Tuple of poolservers

ntpdatetime.ntpdatetime module

class ntpdatetime.ntpdatetime.NTPDateTime[source]

Bases: datetime.datetime

Extends the datetime module to add a custom method

classmethod ntp_now()[source]

Returns a tuple containing a datatime object based on the time received from an NTP poolserver and a boolean value depending on whether it was fetched from a poolserver or not

ntpdatetime.ntpdatetime.ntpdatetime

alias of ntpdatetime.ntpdatetime.NTPDateTime

Module contents