Use any of these js functions to convert the date yyyy / mm / dd to dd / mm / yy
Type 1
function ChangeFormateDate(oldDate){ var p = dateString.split(/\D/g) return [p[2],p[1],p[0] ].join("/") }
Type 2
function ChangeFormateDate(oldDate) { return oldDate.toString().split("/").reverse().join("/"); }
You can call these functions with:
ChangeFormateDate("2018/12/17") //"17/12/2018"
Anandan k
source share