I got some date online, and it's date string is pretty strange to me, for example:
'/Date(1506700800000)/'
I do not know how to parse, the integer string is not real time stamp, if I parse is in python using
time_stamp = "1506700800000"
datetime.fromtimestamp(int(time_stamp)).strftime('%Y-%m-%d')
I got wrong year, so I assume that's not a legal time stamp
As i am using Visual Studio to debug Python code, the Visual Studio watch windows show me the right time to be : 09/29/2017 16:00:00 automatically.
But I have no idea how VS does this conversion. I search on Google for long time but still not able to solve this problem, any help would be appreciated.