Date and Time in the Custom Display Form on SHarePoint 2010 RRS feed

  • Question

  • I have Created a Custom list form display.aspx through the SharePoint Designer.  There is one Column 'Date and Time'. Date and time field is display differen value in default list form.aspx tham custom form display.aspx

    For example

    Event Date is : 2013/11/13 1:00 PM, it is showing as it in the default list form(dispform.aspx) where as in the custom list form it is display as 2013/11/13 9:00 PM for the same list item. I check all the regional setting everywhere is same. I am getting  this error on only custom display form but working fine in custom edit form.

    I have use the following code to format the date and time field in the custom Form .

    <xsl:value-of select="msxsl:format-date(@EventDate,' yyyy/MM/dd ')" disable-output-escaping="yes"/><xsl:value-of select="msxsl:format-time(@EventDate,' hh:mm tt')" disable-output-escaping="yes"/>

    Thanks in Advance.


    • Moved by Just Karl Wednesday, November 6, 2013 11:40 PM Looking for the proper forum.
    Wednesday, November 6, 2013 7:15 PM


All replies