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 ForumsBlogBlogWeird date behaviorWeird date behavior
Previous
 
Next
New Post
11/10/2005 2:07 PM
 
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 2:14 PM
 

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 2:21 PM
 
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 2:33 PM
 
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 2:38 PM
 

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
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsBlogBlogWeird date behaviorWeird date behavior


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