i'm currently struggling with time operations in js. I'm getting an elapsed time from outside the js app.
Let's say I have the calculation of the elapsed time between two timestamps from another service and i want to display it in my html file.
Is there a way to extract days, hours, minutes and seconds from the elapsed time and generate some kind of a clock that keeps adding seconds continuosly?
Thanks in advance for any help!