Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Dieter Luekens 3 posts 73 karma points
    7 days ago
    Dieter Luekens
    0

    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?

  • Dieter Luekens 3 posts 73 karma points
    7 days ago
    Dieter Luekens
    0
    <time>@(Model.Value<DateTime>("erstellungsdatum").ToString("dd.MM.yyyy"))</time>
    

    Sorry, I found a solution after all ;-)

Please Sign in or register to post replies

Write your reply to:

Draft