maskDate(date) { // console.log(date); var dateVar = new Date(date); // console.log("XX/XX/"+ dateVar.getFullYear().toString().substr(-2)); return "XX/XX/"+ dateVar.getFullYear().toString().substr(-2); }