new date to localdate javascript code example
Example: date to localdate
dateToConvert.toInstant()
.atZone(ZoneId.systemDefault())
.toLocalDate();
dateToConvert.toInstant()
.atZone(ZoneId.systemDefault())
.toLocalDate();