Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

minus month javascript date

var d = new Date("January 14, 2012");
console.log(d.toLocaleDateString());
d.setMonth(d.getMonth() - 3);
console.log(d.toLocaleDateString());
 
PREVIOUS NEXT
Tagged: #month #javascript #date
ADD COMMENT
Topic
Name
3+9 =