Page 1 of 1
using the datetime module in python3
Posted: Mon Sep 23, 2019 1:28 am
by model 14
I am running Raspbian full on my pi 4B with wifi to the internet. When I run datetime.datetime.now() in a script or in the interpreter line I get random values out (except it does always say 2019). Is Raspbian keeping track of date and time via the internet connection? Would appreciate some help, thanks.
Re: using the datetime module in python3
Posted: Mon Sep 23, 2019 1:39 am
by model 14
Please disregard my last post concerning datetime.
Re: using the datetime module in python3
Posted: Mon Sep 23, 2019 6:27 am
by rpdom
Will you share your experience with us?
Raspbian should get the current date and time of day from time servers on the internet.
If you have had problems with that and solved them you may be able to help, or even just reassure, other people who may have the same issue or questions.