Date
Returns: Date
Displays a calendar UI for selecting dates which are saved as a DateTime value.

Data Type Definition Example
The only setting that is available for manipulating the Date property is to set a format. By default the format of the date in the Umbraco backoffice will be
YYYY-MM-DD
, but you can change this to something else. See MomentJS.com for the supported formats.
Content Example
@(Model.Content.GetPropertyValue<DateTime>("datePicker").ToString("dd MM yyyy"))
@{
@CurrentPage.datePicker.ToString("dd-MM-yyyy")
}
Last modified 22d ago