Question: how to subtract years from current date in javascript?
Answer: Designate a variable called "date" to store the current date: var date = new Date('25 Dec 2010'); Output the result to the console to ensure the above step is correct: console.log(date); In the "month" date type, within the "date" object, subtract 12 from the current number. ...  Again, output the result.