SyntaxFix
Write A Post
Hire A Developer
Questions
const timeObject = new Date(); timeObject = new Date(timeObject.getTime() + 1000 * 10); console.log(timeObject);
Also please refer: How to add 30 minutes to a JavaScript Date object?