Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Date is less than 1 while pulling data from SharePoint Date time field

$
0
0

Hi all,

I have CSOM code to take data from SharePoint and add in CSV. But I observed that date column when i take, its one day less.

Any workaround for this?

Below is code line:

string strStartdate=Convert.ToDateTime(item["Start_x0020_of_x0020_Date"]).ToString();



Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>