Web Wiz - Green Windows Web Hosting - Celebrating 25 Years!

  New Posts New Posts RSS Feed - show date as 30 october 1899 in change p.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

show date as 30 october 1899 in change p.

 Post Reply Post Reply
Author
murat View Drop Down
Newbie
Newbie


Joined: 04 June 2004
Status: Offline
Points: 21
Post Options Post Options   Thanks (0) Thanks(0)   Quote murat Quote  Post ReplyReply Direct Link To This Post Topic: show date as 30 october 1899 in change p.
    Posted: 23 June 2005 at 2:17pm
hi,
i am using 7.91 ms access and all the times and dates are correct after i changed my server local settings but it shows the edit date as 30 october 1899 in only edited posts. what can be the problem? this problem is only for edited posts.
Thanx.
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 24 June 2005 at 8:39am
This means that your new server uses a different date format, which means that the edit date can not be calculated and so it reverts back to 30 october 1899, which is the date at which VBscript dates start at.
Back to Top
murat View Drop Down
Newbie
Newbie


Joined: 04 June 2004
Status: Offline
Points: 21
Post Options Post Options   Thanks (0) Thanks(0)   Quote murat Quote  Post ReplyReply Direct Link To This Post Posted: 24 June 2005 at 11:43am

but the date which shows users post time or another thing is true, if i change the servers date format will the other dates be incorrect, what can i do, cant i change the edit_post.asp so that it shows true time, all the dates and times are true only edited posts edited dates are wrong. should i change my servers settings?

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 26 June 2005 at 5:03am
The dates for the edited time are stored as a string within the contents of the message rather than as a date field in the database.

Often the server with auto change the date when in different formats becuase of the way the date is stored, with the edited string sometimes it doesn't work.

You would need to change the locale settings on your server to match that of your old server.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.