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 :)
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.
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
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
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
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
Hi Jan,
Thanks for your reply.
I tried that with no luck. Any other ideas?
Cheers
mkariti
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
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
is working on a reply...