Change DateTime format property to DateTime RRS feed

  • Question

  • Hi,

    I have a DateTime field in  contenttype. 

    Field was set to DateOnly Format but user wants it to be as DateTime field. As it is already in live I have written a Feature upgrade reciever to update all the existing field. After Solution and feature upgrade its working fine for the new items but not to the existing files. I tried by updating the list field directly but the changes does not replicate in Edit/Display forms of an items.

    I have checked through Sharepoint Manager and the format DateTime.

    How can i change the DateOnly format to DateTime in existing list.


    Saturday, July 12, 2014 1:44 AM


  • Hi Mohammed,

    According to your description, my understanding is that you want to change the Date only field to Date Time in existing fields in SharePoint.

    I recommend to edit the date column in the browser directly.

    Please go to the List settings in the list where the content type is used and then click the date field under Columns. After that you can edit the date field to Date and Time format and all the existing fields will be updated with 12:00 AM value with the date value.

    Best regards.


    Victoria Xia
    TechNet Community Support

    • Marked as answer by JasonGuo Sunday, July 20, 2014 8:52 AM
    Monday, July 14, 2014 7:39 AM