An API
call is returning me a date as a string in the following format:
/Date(1358208000000)/
Now, I would like to parse this string into a date object (PHP).
I could use str_replace remove the /Date( and )/ and divide the unix timestamp with 1000, but that seems a bit complicated for this matter to me.
Any thoughts on how I could parse this easily to a date object?