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

share point date will be shown in .net less than one day.

$
0
0

Hi friends,

I have faced one issue with share point date time. I am getting the share point data from asp.net application by using the COM objects . I observed share point date will be displayed less than one . i am getting all dates like that .

Eg:  in share point 01/08/2012 then it display in .net like 31/7/2012 , 2/8/2012 in .net 1/8/2012

Any one face this type issue priviously. I will share my query here..

<View><Query><Where><And><Geq> <FieldRef Name='Current_x0020_Review_x0020_Date' /> <Value IncludeTimeValue='FALSE' Type='DateTime'>"

+SPUtility.CreateISO8601DateTimeFromSystemDateTime(dt_fromDate) + "</Value> </Geq><Leq><FieldRef Name='Current_x0020_Review_x0020_Date' /><Value IncludeTimeValue='FALSE' Type='DateTime'>"+ SPUtility.CreateISO8601DateTimeFromSystemDateTime(dt_toDate) + "</Value></Leq></And></Where></Query></View>"

can you suggest any thing for this..


Viewing all articles
Browse latest Browse all 25064

Trending Articles



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