mercredi 28 janvier 2015

Custom list on form when creating a new item Date fields should not show Time



On creating a custom list in Visual studio. With a column called Start Date of type DateTime. When a user creates a new item in the List, on the form the column Start Date should only display the Date, and not the time.



<Field><Field Name="StartDate" ID="{435678rf-6589-5432-e45t-gt89b3267eq1}" DisplayName="Start Date" Type="DateTime" /></Fields>


That is in the List Schema.xml


How do I make only the Date appear and not the time?








0 commentaires:

Enregistrer un commentaire