Hey there, I have a situation where I'm trying to convert a JSON response into a date object in order to display it in a different format. Here's the JSON response I'm working with:
responseData: [{"id":10,"createdDate":"1 Sep, 2014 12:48:52 PM"}]
When it comes to displaying the creation date in the UI, I want it to show as 1 Sep, 2014 or in the format mm-dd-yyyy. How can I achieve this? Should I create a date object from the JSON response, or should I work on parsing the JSON response itself? Any assistance would be greatly appreciated.