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  |  

AspDotNetStoreFront
  Ads  
Engage Software - Training Partner for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Blog Module [Le...  Weird date behavior
Previous Previous
 
Next Next
New Post 11/10/2005 11:07 AM
User is offline Bryan Johns
58 posts
www.greendragonweb.com
10th Ranked


Weird date behavior 
I've noticed some strange date behavior with the blog module.  I posted a blog entry earlier today and after posting I noticed that the date was incorrect.  It turned out that the date on the web server was off (which has since been corrected).  Anyway, I edited the blog entry and manually set the date to 11/10/2005 and saved.  The AddedDate field in the Blog_Entries table got updated to reflect the date I entered but the date still shows up incorrect on the web page.  I've done everything I can think of short of forcing an app restart by editing web.config.  I've cleared the cache in my browser and in DNN to no avail.  Where else might it be getting this erroneous date from?

Bryan Johns
K4GDW

"There are 10 types of people. Those who understand binary and those who do not."
 
New Post 11/10/2005 11:14 AM
User is offline Hans-Peter Schelian
468 posts
www.schelian.com
8th Ranked


Re: Weird date behavior 

Which date format are you using ?

Try out to use a date format which display the date and the time (you must setup in blog settings).

Have then a look what date/time will be displayed and if needed correct it.

HP

 


Best regards
Hans-Peter Schelian
www.schelian.com (English)
German DotNetNuke Community
 
New Post 11/10/2005 11:21 AM
User is offline Bryan Johns
58 posts
www.greendragonweb.com
10th Ranked


Re: Weird date behavior 
 SchelianHP wrote

Which date format are you using ?

Try out to use a date format which display the date and the time (you must setup in blog settings).

Have then a look what date/time will be displayed and if needed correct it.


I was using the default date format that didn't show the time. I changed the format to one that did show the time and that did the trick.  Thanks...




Bryan Johns
K4GDW

"There are 10 types of people. Those who understand binary and those who do not."
 
New Post 11/10/2005 11:33 AM
User is offline Bryan Johns
58 posts
www.greendragonweb.com
10th Ranked


Re: Weird date behavior 
I think I know what happened.  If memory serves, SQL server assumes a time of midnight  if you insert a date that doesn't include a time.  Since my host is in Eastern time (GMT-5) and I'm in Central time (GMT-6), and I set my portal to use Central time zone, it was displaying 11/10/2005 00:00:00 minus 1 hour or 11/9/2005 23:00:00.

Bryan Johns
K4GDW

"There are 10 types of people. Those who understand binary and those who do not."
 
New Post 11/10/2005 11:38 AM
User is offline Hans-Peter Schelian
468 posts
www.schelian.com
8th Ranked


Re: Weird date behavior 

You are absolutely right., that is the reason why I prefer to use a date format which display date and time.

Regards and Thanks for sharing your experience

HP


Best regards
Hans-Peter Schelian
www.schelian.com (English)
German DotNetNuke Community
 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Blog Module [Le...  Weird date behavior
 


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.

 


Multipartner Virtual Data Rooms
The Virtual Data Rooms (VDR) provided by an expert advisor, far from any ordinary software company!, supporting the sellers and their consultants. Multipartner builds and services higly professional Virtual Data Rooms (VDR) specifically tailored to M&A, Real Estate and NPL deals.
www.multipartner.com
DNN SEO
Seablick Consulting specializes in DNN search engine optimization (SEO), DNN consulting, as well as support & training.
seablick.com
Intura Vision / Intura Enterprise
Point-of-Sale and business management applications targeted towards quick service, fast casual and delivery-based restaurant concepts.
www.intura.com

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