Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
@Model.Value("erstellungsdatum") => Result 3/22/2016 12:00:00 AM but i need the result 22.03.2016
In Umbraco 7 it works: @Model.Value("erstellungsdatum").ToString("dd.MM.yyyy")
who can help me?
<time>@(Model.Value<DateTime>("erstellungsdatum").ToString("dd.MM.yyyy"))</time>
Sorry, I found a solution after all ;-)
@(Model.Value<DateTime>("publicationDate").ToString("dd MMMM yyyy"))
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Date Format
@Model.Value("erstellungsdatum") => Result 3/22/2016 12:00:00 AM but i need the result 22.03.2016
In Umbraco 7 it works: @Model.Value("erstellungsdatum").ToString("dd.MM.yyyy")
who can help me?
Sorry, I found a solution after all ;-)
is working on a reply...