js date into format

Solutions on MaxInterview for js date into format by the best coders in the world

showing results for - "js date into format"
Julia
13 Feb 2016
1var date = new Date('1970-01-01'); // Or your date here
2console.log((date.getMonth() + 1) + '/' + date.getDate() + '/' +  date.getFullYear());