I am making a request for data and parsing it in JSON format however I do get errors because it returns timestamps in the javascript form new Date(1500000). How do I go about fixing this issue.
I thought of using regex to put quotes around the new Date(0000000) but it doesn’t seem to work. I am using RegexKitLite and SBJSON. Thanks in advance for the help
I am making a request for data and parsing it in JSON format however
Share
You can simply use;
where value is your “Date(1500000)” string.