Copied to clipboard

Flag this post as spam?

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


  • MK 429 posts 906 karma points
    Apr 28, 2012 @ 10:46
    MK
    0

    change default date time format

    Hi there,

    How can i change the umbraco datetime format to 24h format instead of the 12h one?

    cheers

    mkariti

     

     

     

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Apr 29, 2012 @ 00:08
    Jan Skovgaard
    0

    Hi Mkariti

    In what context do you need to change the datetime format? Is it to change the outputted display page on the website? Please provide a bit more information and we'll be able to provide a more acute answer :)

    /Jan

  • MK 429 posts 906 karma points
    Apr 29, 2012 @ 07:58
    MK
    0

    Hi Jan,

    Yes it is to change the display on the page. I provide my user a history page of all their

    communication with the website admin. When I present the created date it exhibits a 12h format. 

    Cheers

    mkariti

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Apr 29, 2012 @ 12:35
    Jan Skovgaard
    0

    Do you have setup a hostname on the website branch in Umbraco with a corresponding culture? If I'm not mistaken this should be enough to get the date in the desired format.

    /Jan

  • MK 429 posts 906 karma points
    Apr 29, 2012 @ 17:20
    MK
    0

    Hi Jan,

    Thanks for your reply.

    I tried that with no luck. Any other ideas?

    Cheers

    mkariti

     

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    May 18, 2012 @ 18:17
    Jan Skovgaard
    0

    Hi mkariti

    Sorry for my late reply - did you manage to figure it out?

    Otherwise could you then show the piece of code you use to get the datetime?

    /Jan

  • MK 429 posts 906 karma points
    May 19, 2012 @ 20:31
    MK
    0

    Hi Jan,

    Many thanks for your reply.

    It seems to be a server prob. had to reinstall it and now everything seems fine.

    Many thanks

    mkariti

Please Sign in or register to post replies

Write your reply to:

Draft