Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to add seconds to time in js

const date = new Date('2020-01-01 10:11:55');date.setSeconds(date.getSeconds() + 10);
Source by levelup.gitconnected.com #
 
PREVIOUS NEXT
Tagged: #add #seconds #time #js
ADD COMMENT
Topic
Name
2+5 =