Welcome to the Treehouse Community
Looking to learn something new?
Date From Json to normal Date
i get info Frm Json File but i get Date value like this /Date(1545170400000)/ i need to know how to convert it to normal Date to show the result
Brendan WhitingFront End Web Development Techdegree Graduate 84,696 Points
You can make a Date object with its constructor like this:
Which corresponds to this date:
I can help you parse the number out but it would help to see more info about the JSON data structure.