<globalization requestEncoding="UTF-8" responseEncoding="UTF-8" culture="auto" uiCulture="auto" /> for application wide
or you can use the manage hostnames feature (right click your root node in the content tree) and use a dummy url (u7 might not even need a dummy url) and set the language.Really for multilanguage sites.. but think should aslo set the locale to do dates etc.. I have found it to be hit and miss in the past with core overriding, but this might have changed.
(You'll need to add your language to the available languages in settings language.)
Date time in Dutch format
Hi,
Does anyone know how i can get an Dutch Date time format like: Woensdag 20 Augustus 2014?
Thank you!
Kind regards, Robert
Something like this:
Actually I think you want "D"
Thanks for your reply!
How can i use the CultureInfo because i get an compiler error...
Ah sorry, you need to add at the top of your script
Damn you're good!
Works like the way i needed :)
Thank you!
Lol, you're very welcome!
Just one other question :)
How can i get the publish date from the news-item instead of the Now date?
What i had: Where dateTime is the publish date.
I need it now in the line you've gaven me :)
Thank you.
I think just:
Yes! Many thanks again!
Now i'm done asking ;)
Thank you
np
Would you not be better setting the site wide locale? Rather than add hoc string format manipulation?
How do you mean that?
you can set in the web.config I think
<globalization requestEncoding="UTF-8" responseEncoding="UTF-8" culture="auto" uiCulture="auto" /> for application wide
or you can use the manage hostnames feature (right click your root node in the content tree) and use a dummy url (u7 might not even need a dummy url) and set the language.Really for multilanguage sites.. but think should aslo set the locale to do dates etc.. I have found it to be hit and miss in the past with core overriding, but this might have changed.
(You'll need to add your language to the available languages in settings language.)
is working on a reply...