Hi!
I am developing a client that connects to my SharePoint online and retrieves data from a list containing text end date values and sves that to a local XML file.
But the date is wrong, im my list i have 13:00 but when i get the date from the list it´s 01:00 next day...
i have tryed this:
DateTime dtTo = Convert.ToDateTime(oListItem["MyDate"].ToString()); DateTime dtTo = tdtTo.ToLocalTime();
but the date is still incorrect. Any solutions?