I have a form where the user selects the Date from the UI .
I am getting the following value from UI
var uiDate = "2019-05-03T00:00:00.000Z".
I need to convert this to DateTime for further processing .
var dt = Convert.ToDateTime(uiDate);
The value of dt is "5/2/2019 8:00:00PM" .
As we can see I am always getting one day back after DateTime conversion from the date selected from UI. I was expecting "5/3/2019". I am not able to figure out why is this happening after DateTime conversion?