Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

Maximum ASP
  Ads  
OnyakTech
 


  Sponsors  

Meet Our Sponsors

telerik
ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Make it Hot! ( ...  Currentdate skinobject and DST
Previous Previous
 
Next Next
New Post 4/3/2008 9:59 AM
User is offline alberto velo
51 posts
10th Ranked


Currentdate skinobject and DST 

Hello,

on DNN 4.0.7 and 4.0.8 (different servers) I'm facing a strange problem with the DNN:CurrentDate skinobject: it shows the wrong time, from when we changed to DST.

I have Site Settings and User settings bot on UTC+1, but CurrentDate still shows the old hour (1 hour late: if it's now 17:50, it tells 16:50). I also see there was a bug (http://support.dotnetnuke.com/issue/ViewIssue.aspx?ID=2787&PROJID=2), but it's closed... what am I missing?

Here's how I define the skinobject in my skin:

<dnn:CURRENTDATE runat="server" id="dnnCURRENTDATE" Dateformat="dd MMMM yyyy HH:mm" />

 Thank you,

al.

 
New Post 4/3/2008 11:06 AM
User is offline keeperofstars
252 posts
9th Ranked


Re: Currentdate skinobject and DST 

Are the two servers time synched? I ask cause Microsoft had to send out a DST patch this year for the extended changes passed. I still run into servers which have not had this update put into place and thus are not aware its DST. Is it the case here? Probably not but its where I would first look.

 

 
New Post 4/3/2008 12:51 PM
User is offline Sebastian Leupold
15227 posts
www.deutschnetnuke.de
1st Ranked












Re: Currentdate skinobject and DST 

DNN does currently not support DST, users and  admins need to adjust timezone settings.


Sebastian Leupold

DeutschNetNuke dnnWerk - The DotNetNuke Experts German DotNetNuke User-Group

DotNetNuke Project UserDefinedTable
DotNetNuke Project Release Tracker
 
New Post 4/4/2008 3:36 AM
User is offline alberto velo
51 posts
10th Ranked


Re: Currentdate skinobject and DST 

 keeperofstars wrote

Are the two servers time synched? I ask cause Microsoft had to send out a DST patch this year for the extended changes passed. I still run into servers which have not had this update put into place and thus are not aware its DST. Is it the case here? Probably not but its where I would first look.

 

Hi,

no, they aren't (not explicitly: maybe some sync is made with Active Directory?)

Time is actually right on both servers, and also inside DNN: for example I handle a datetime field in a module of mine, and there I always get the right time. It appears that only the CurrentDate skinobject is suffering this problem.

Thanks,

al.

 
New Post 4/4/2008 3:45 AM
User is offline alberto velo
51 posts
10th Ranked


Re: Currentdate skinobject and DST 

 Sebastian Leupold wrote

DNN does currently not support DST, users and  admins need to adjust timezone settings.

Hi Sebastian,

do you mean we should change timezone when we're in DST? As far as I can see, the problem affects the CurrentDate skinobject only, not any datetime inside DNN. At least, I get the right time in a control of mine, where I get it with this code:

txtCreatedDate.Text = formatDateTime(DateTime.Now, Dateformat.ShortDate) & " " & formatDateTime(DateTime.Now, Dateformat.ShortTime)

Currentdate does:

 Dim objUserTime As New UserTime
If Dateformat <> "" Then
    lblDate.Text = format(objUserTime.CurrentUserTime, Dateformat)
Else
    lblDate.Text = objUserTime.CurrentUserTime.ToLongDateString
End If

I'm investigating how UserTime is handled. Of course my code does not take into consideration user timezone, which is - I believe - causing the problem.

 

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Make it Hot! ( ...  Currentdate skinobject and DST
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Windsor Management Group
Fund Accounting Software for K12 Education.
Infinitevisions.com
Convert Visitors to Customers
In order to bring value to your users, we must first understand them. VIVIDSITES will help you build a custom web application and interactive marketing tools that your users will thank you for. We marry high-end creative with head banging technology to entertain and convert visitors into paying customers. Call 314.514.0505 or visit us at http://www.vividsites.com to find out how.
- V I V I D S I T E S -
Gearworx Web Hosting
As a premier provider of Web Hosting, Private/White Label hosting, Server Colocation, Dedicated Server, and other Managed Services, Gearworx offers an array of services designed to more effectively manage strategies driving businesses on the Web. Headquartered in Fremont, California our state of the art tier one data centers and distributed managed services environment enables Gearworx to offer your business enterprise level solutions through simplified processes.
Gearworx Web Hosting

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP