Tags : :
I'm using the API function getAllMarkets and having a bit of trouble with the market start time (field 5 from the string for each market, the 'Event Date' according to the API reference guide).
In particular, for all markets related to the AFL grand final it seems to give a start date back in March this year. For other markets the conversion lines up with the start time on the website, but for the couple I've checked related to the AFL grand final it doesn't.
Any idea what's going on?
I'm converting the milliseconds count using the following:
DateTime startTime = DateTime.SpecifyKind(UnixEpoch.AddMilliseconds(Convert.ToInt64(fields)), DateTimeKind.Utc);
DateTime localStartTime = startTime.ToLocalTime();