This question already has an answer here:
- How is time kept on the Raspberry Pi? 4 answers
I want to add a h/w rtc to my RPi. If network time is available, I want to determine this, and use it to set the system time and also update my own rtc. How can I find if network time is ( or becomes ) available ( preferably within a Python program)?