I am using ion2 calendar for creating a multidatepicker. Here I am using onSelect event emitter.
onSelect($event) {
console.log("onSelect event called");
console.log($event);
};
Here when I print '$event' the console output looks like this:
How to extract only date from this moment object in the format 'DD-MMMM-YYYY'?