Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

get before 6 month date javascript node js

var oneMonthAgo = new Date(
    new Date().getFullYear(),
    new Date().getMonth() - 1, 
    new Date().getDate()
);
console.log(oneMonthAgo);
//$uj@y
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #month #date #javascript #node #js
ADD COMMENT
Topic
Name
6+7 =