Please help with the following date format, how can i convert this to the correct date time?
2019-10-22T02:00:00-04:00
Not sure what will be used to convert the datetime.
I just passed it to the variable because it is get from a json.
var parse = JObject.Parse(times);
var dateTime = parse["Date"]["overTime"];
It returns a 23/10/2019 2:00:00 am why is that the date on the 23 but the supposedly be on the 22. How can I return the right date and time. Please can you show me how to convert the date and explain the conversion.