Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsTime ZoneTime Zone
Previous
 
Next
New Post
8/19/2008 5:05 PM
 

I got caught by this and would like to offer a suggestion on how to avoid further confusion...  I believe the label "TimeZone Update (Admin)" is somewhat ambiguous.  Hindsight is 20/20.  How about changing this label to something of a wider context, like "Edit/Modify Events" and then expand on the point of adjusting the time zones across all existing events (as such) within the administrative screen with a button so make it so.  Cheers!  and thanks for the mod.  ;)  ~ Adam

 
New Post
1/1/2009 12:29 AM
 

WHy is this so hard? If we know the server time (we do) then we should be able to set the "server timezone" then we could use that to figure GMT, then the portal timezone should be used to offset that time.  Am I missing some scenario? 

Ernst Peter Tamminga wrote
 

This is almost certainly to do with the inaccuracies time-handling within the DNN framework. There are many points at which dates can be calculated wrong mainly because DNN does not support DST (since .Net V2 does not). The team have made their best attempt at accuracy, but unfortunately this isn't entirely possible.

I think 1 hour of your inaccuracy could be because of DST, the other hour could be because you are in a different timezone to your server. So could try changing your timezone for the module instance to negate this.

We hope to improve on this funtionality when DNN provides proper timezone support on .Net 3.5. Howevert this is no timeline for this support within DNN at this time.

(This is a copy of an answer Roger has provided earlier)

 
New Post
1/1/2009 5:28 AM
 

Joiseystud,

maybe I should answer, since I did an indeep investigation last year on this subject.

There is no problem storing all datetime values in UTC (this does not need to be calculated, it is provided by .Net framework and SQL Server) and converting it to user time zone. But there are still two problems remaining:

  • the UserTime class in core is misleading developers when using Method names like CovertUserTimeToServerTime, which actually adds the difference between portal default timezone and individual user time zone. There is actually a confusion between physical server's timezone and portal default time zone, which needs to be solved. This issue can be solved (I started with an internal proposal to convert all datetime values to UTC), but this needs additional effort.
  • the second issue sounds minor, but has major effects: DNN is DST agnostic. This means
    a) there is no switch in timezone settings, to distinct between normal and summer time (DST) and
    b) our currect timezone table does not provide any assistance for automatic switches.
    What are the options to solve this?
    a) might be resolved by rather easily by adding a DST checkbox, allowing manual adjustments - in site settings, but also required for all users in their profiles.
    b) is nearly an ineffordable task without external support - remember how often Microsoft provides upgrades for the windows DST adjustments (at least twice a year). .Net 3.5 provides new classes to access windows time zones, but unfortunately DNN cannot require .Net 3.5 to be installed.

We am still looking for a suitable solution, maybe with different functions depending of the framework version used, but this still needs a lot of effort.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsTime ZoneTime Zone


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out