A
A
Anton2018-02-26 13:03:44
JavaScript
Anton, 2018-02-26 13:03:44

How to write a simple timer in JS?

Good day!
Tell me how to write a simple timer?
When you click on the button, a countdown to the date is recorded (for example: 2018-02-26 12:12:12), the output is in minutes and seconds.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sim3x, 2018-02-26
@Ooos

https://learn.javascript.ru/settimeout-setinterval

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question