none
Display date is one day earlier

    Question

  • Anyone,
       Please help

    I have a page layout and I'm not using codebehind.
    My date loses one day when displaying on the page.

    <SharePointWebControls:FieldValue ID="dPublishedDate"  FieldName="dPublishedDate" runat="server" />


    M Sariman RKO Business Solutions Inc.

    Monday, August 12, 2013 7:19 PM

Answers

  • Hi Mohamad,

    Change the control to DateTimeField as shown below -

    <SharePointWebControls:DateTimeField FieldName="dPublishedDate" runat="server" />

    Narahari

    ******If a post answers/helps your question, please click "Mark As Answer" on that post and/or "Vote as Helpful*******

    Monday, August 12, 2013 10:01 PM

All replies

  • Hi,

    Are your servers right on time ?

    Monday, August 12, 2013 7:58 PM
  • Yes it is right on time.

    M Sariman RKO Business Solutions Inc.

    Monday, August 12, 2013 8:17 PM
  • Hi Mohamad,

    Change the control to DateTimeField as shown below -

    <SharePointWebControls:DateTimeField FieldName="dPublishedDate" runat="server" />

    Narahari

    ******If a post answers/helps your question, please click "Mark As Answer" on that post and/or "Vote as Helpful*******

    Monday, August 12, 2013 10:01 PM
  • I had that figured out 20 min ago.

    Thanks anyway I'll mark yours as an answer.


    M Sariman RKO Business Solutions Inc.

    Monday, August 12, 2013 10:07 PM