I am working on JS code below in which .text(data.format_data.nextRechargeDate);
returns the date in the following format: "2019-02-09T05:00:00"
Javascript Code:
this.$modal.find('.next-date').text(data.format_data.nextRechargeDate);
Problem Statement:
I am wondering what changes I need to make in the JS code above so that it returns the data format in the following way:
January 11, 2019
At this moment, as mentioned above it returns in the following format "2019-02-09T05:00:00"