function FormateDate(oldDate) { var newDate=new Date(oldDate.toString().split("-").reverse().join("-")); return newDate; }
Leave a comment: