I host my umbraco solutions in the US, since hosting is a lot cheaper than in Denmark. Unfortunable, all create-timestamps on new documents use the servers timezone.
Is it possible to set an alternative timezone in the config files ?
Guess you could create an action handler and get that to read a config file, in the config file store your time offset from server time zone. After create event (may want to do for update publish as well) set the create date property to your date calculated from server time and your time zone offset.
Changing timezone
Hi
I host my umbraco solutions in the US, since hosting is a lot cheaper than in Denmark. Unfortunable, all create-timestamps on new documents use the servers timezone.
Is it possible to set an alternative timezone in the config files ?
Kind regards,
/Anders
Anders,
Stick the following or replace the existing in your web.config
<globalization requestEncoding="utf-8" responseEncoding="utf-8" culture="en-GB" />
you need to change your culture value to danish think thats da-DK?
Regards
Ismail
Anders,
Doh, just re read your question and realised what you are really asking!
Regards
Ismail
Ismail,
Thanks for your reply. I think the culture attribute only will help the browser to understand which language the content is written in.
/Anders
Anders,
Guess you could create an action handler and get that to read a config file, in the config file store your time offset from server time zone. After create event (may want to do for update publish as well) set the create date property to your date calculated from server time and your time zone offset.
Regards
Ismail
is working on a reply...