Copied to clipboard

Flag this post as spam?

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


  • Michaël Vanbrabandt 863 posts 3348 karma points c-trib
    Sep 21, 2016 @ 09:31
    Michaël Vanbrabandt
    0

    Date wrong displayed Umbraco backoffice

    Hi,

    I have a custom table with a column datestamp.

    For instance the value is 2016-09-21 11:18:26.567.

    When I format this using the filter date: 'medium' it gets displayed at 21 Sep 2016 13:18:26.

    So by the timezone its displayed wrong to the end user.

    How can I display in the correct timezone and show the value 21 Sep 2016 11:18:26 ?

    /Michaël

  • Amit Chawla 1 post 91 karma points
    Sep 21, 2016 @ 11:54
    Amit Chawla
    100

    Please visit the following link: https://en.wikibooks.org/wiki/Umbraco/Reference/umbraco.library/FormatDateTime

    Hope this will help you!!

  • Michaël Vanbrabandt 863 posts 3348 karma points c-trib
    Sep 21, 2016 @ 12:16
    Michaël Vanbrabandt
    0

    Hi,

    thanks when I format it on my web api before sending it back instead of in angular its formatted correct.

    /Michaël

  • 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