how to convert yyyy mm dd to day month and year in javascript code example
Example: convert date dd/mm/yyyy to date object js
DateParts = data.split("/");
new Date(+DateParts[2], DateParts[1] - 1, +DateParts[0]).setUTCHours(
0,
0,
0,
0
)