I guess you would have to use a date formatting method that adds or subtracts an offset value onto the date from the server to convert it to local time. ie. if the server is 7 hours ahead then subtract 7 hours from all dates when displaying them. You could do this via .NET or through existing XSLT extension methods.
Hi,
I'd quite like the times displayed in the Umbraco back-end (last updated etc.) to also be correct and also adding/subtracting values will get messy when you take daylight savings into account.
Are there any plans to store the dates in Umbraco in UTC in the future?
What about the e-commerce sites out there - they must have something in place for handling dates across time zones?
How does Umbraco store Date Time values
Am I correct in thinking that Umbraco stores datetime values based on the server's date?
I have a server based in a different time zone to the majority of the users, but I would like the publish date to reflect the local time of the user.
Any ideas?
Cheers
Paul
Yes, it gets date and times from the server.
I guess you would have to use a date formatting method that adds or subtracts an offset value onto the date from the server to convert it to local time. ie. if the server is 7 hours ahead then subtract 7 hours from all dates when displaying them. You could do this via .NET or through existing XSLT extension methods.
Hi,
I'd quite like the times displayed in the Umbraco back-end (last updated etc.) to also be correct and also adding/subtracting values will get messy when you take daylight savings into account.
Are there any plans to store the dates in Umbraco in UTC in the future?
What about the e-commerce sites out there - they must have something in place for handling dates across time zones?
Cheers
Paul
is working on a reply...
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.