I think you'll find the answer in this thread: Converting ASP.Net JSON Date into Python datetime
Hope it helps.
EDIT:
Following @SuperBiasedMan advice, here is the answer provided by the link.
Apparently there is no code in python's standard library to cast this string in a datetime object.
However, this code will do the trick:
#!/usr/bin/env python
import datetime
EPOCH = datetime.datetime.utcfromtimestamp(0)
def parse_date(datestring):
timepart = datestring.split('(')[1].split(')')[0]
milliseconds = int(timepart[:-5])
hours = int(timepart[-5:]) / 100
adjustedseconds = milliseconds / 1000 + hours * 3600
return EPOCH + datetime.timedelta(seconds=adjustedseconds)
ScheduleDate = "\/Date(1374811200000-0400)\/"
StartTime = "\/Date(-2208931200000-0500)\/"
print(parse_date(ScheduleDate))
print(parse_date(StartTime))