0

I want to subtract minutes in a var variable. Please help me to do this.

var enddate= '11/12/2020 1:00:00 PM';
var length = 30;
var startdate = ?    //enddate - length and startdate formate should same as the enddate formate

Thank you.

Prasanga
  • 9
  • 1
  • You are aksing 3 questions in one: how to parse a string to a Date, how to add and subtract minutes and how to format a Date, hence the list of seemingly unrelated duplicates. – RobG Nov 10 '20 at 04:06

0 Answers0