I am trying to get uptime to work in C#, but whenever I substract created_at from DateTime.Now the uptime is off by a few hours.
Probably due to the timezone difference between created_at and the server.
How can I get around this?
string created_at = (string)((JObject)value)["created_at"];
return DateTime.Now - DateTime.Parse(created_at);