Xyptilon2
asked on
Getting Two Timestamp and calculate the difference
How do i get a timestamp upon pressing a button and get another 1 upon pressing another button. and then caculate the difference so the output is like
The difference is: 5m 10s
The difference is: 1h 15m 12s
Basically i want some functionality that says per event, this event last happened "x time" ago. In this example..it are two buttonClicks (different buttons), global variables can be used.
The difference is: 5m 10s
The difference is: 1h 15m 12s
Basically i want some functionality that says per event, this event last happened "x time" ago. In this example..it are two buttonClicks (different buttons), global variables can be used.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.