Answers for "how to minus 5 seconds in javascript datetime"

1

javascript date minus seconds

// datenow minus 20 seconds
new Date(Date.now() - 20000);
Posted by: Guest on January-25-2021

Code answers related to "how to minus 5 seconds in javascript datetime"

Code answers related to "Javascript"

Browse Popular Code Answers by Language