I have a custom application page which i am using to format the SPListItem in a particular layout. On this page I am showing a datetime field as:
<SharePoint:FieldValue runat="server" FieldName="IssueDate" id="FieldValue13"/>
But its showing me -1 day of the original value of IssueDate. So 10/5/2010 shows as 10/4/2010. I have solved this by formatting the value manually :
<%= SPContext.Current.Item["IssueDate"].ToString() %>
my question is why would FieldValue show -1 of the original value?
View Complete Post