How to measure and calculate the difference in time between two clicks on a button?

jospercomp shared this question 2 years ago
Answered

How to measure and calculate the difference in time between two clicks on a button?

How to make a time stopwatch with a button and a text?

Comments (2)

photo
1

inicio=GetTime()

fin=GetTime()

sinicio=Element(inicio, 2) + Element(inicio, 3) * 60 + Element(inicio, 4) * 3600 + Element(inicio, 5) * 86400 + Element(inicio, 7) * 31536000


sfin=Element(fin, 2) + Element(fin, 3) * 60 + Element(fin, 4) * 3600 + Element(fin, 5) * 86400 + Element(fin, 7) * 31536000

© 2023 International GeoGebra Institute