Copied to clipboard

Flag this post as spam?

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


  • Claushingebjerg 939 posts 2574 karma points
    Mar 14, 2019 @ 09:39
    Claushingebjerg
    0

    Formatting dates in v8

    How do i format dates in 8?

    @(Model.Content.GetPropertyValue<DateTime>("datePicker").ToString("dd MM yyyy"))
    

    as described in the documentation doesnt work anymore...

    https://our.umbraco.com/Documentation/Getting-Started/Backoffice/Property-Editors/Built-in-Property-Editors/Date

  • Sebastiaan Janssen 5061 posts 15544 karma points MVP admin hq
    Mar 14, 2019 @ 09:49
    Sebastiaan Janssen
    103

    @(Model.Value<DateTime>("datePicker").ToString("dd MM yyyy"))

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies