+ 1

Clock in milliseconds?

Is it possible to make a digital clock with an accuracy in milliseconds or microseconds by using Python?

28th Nov 2020, 2:30 PM
take_it_easy
take_it_easy - avatar
8 Answers
+ 6
Time accuracy to micro seconds is impossible.. the closest you can get is minutes not even seconds
30th Nov 2020, 1:16 PM
Izaiah Kay
Izaiah Kay - avatar
+ 3
Yes , it is possible
28th Nov 2020, 2:35 PM
Sâùtôsh
Sâùtôsh - avatar
+ 3
I don't think programs can be always 100% accurate.
28th Nov 2020, 4:04 PM
Steve Sajeev
Steve Sajeev - avatar
0
How much accurate? 100%?
28th Nov 2020, 2:38 PM
take_it_easy
take_it_easy - avatar
0
Maybe by using real-time os?
28th Nov 2020, 3:07 PM
take_it_easy
take_it_easy - avatar
0
No till now i couldn't make a program accurate. Even the variation is not constant.
28th Nov 2020, 6:36 PM
take_it_easy
take_it_easy - avatar
0
I was trying to make a digital clock by using .after() method in python, and it's not accurate at all. Milliseconds variation for every call is high and not able to be controlled because of the Cpu frequency...
28th Nov 2020, 6:40 PM
take_it_easy
take_it_easy - avatar
0
Yes it is possible by importing the module.
29th Nov 2020, 7:59 AM
QUANTUMSPARK1
QUANTUMSPARK1 - avatar