I used script to change from TIMESTAMP in Oracle from Json to dd/mm/yy, but the function getMonth of javascript return month fail. In example below, the Month is 3 but it return is 2. Why? Please help.
var date = "/Date(1520996412000)/";
var fullDate = new Date(date.match(/\d+/)[0] * 1);
var twoDigitMonth = fullDate.getMonth() + "";
console.log(fullDate);
console.log(twoDigitMonth);