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

  New Posts New Posts RSS Feed - another ’cdate’ problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

another ’cdate’ problem

 Post Reply Post Reply Page  <123>
Author
zooeycat View Drop Down
Newbie
Newbie


Joined: 22 September 2005
Location: United States
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote zooeycat Quote  Post ReplyReply Direct Link To This Post Posted: 22 September 2005 at 5:52pm
i did the 1033 fix, but my date is still displaying as  22/September/2005 (the time is correct).  any idea how to change the date format?
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: 23 September 2005 at 8:33am
You can change the date format in your forum profile, for non-logged in users it can be changed in the admin area under date and time configuration.
Back to Top
Unleash_Hell View Drop Down
Newbie
Newbie


Joined: 26 September 2005
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote Unleash_Hell Quote  Post ReplyReply Direct Link To This Post Posted: 26 September 2005 at 3:04am
Originally posted by jigsaw jigsaw wrote:

Dear christian,
 
I found a fix for this and you will be pleased to know it is quite simple!
In the common.asp file you will see lines 55 and 56:
'Set the date time format to your own if you are getting a CDATE error
'Session.LCID = 1033
 
Remove the character ' and the codeline 1033 is then enabled for American English defaults, I changed this to German 1031 then my copy of the forum worked again because it was on a German server!
 
I put this in my file to remind me later if I move hosts:
'On a German server 1031=Germany 2057=UK 1033=USA
 
Remember if you switch hosts they could be any Language, you need to find out what is the default and adjust this, find your local ID code from your host help files.
 
Hope this helps.
 
 
 
Should the LCID be the location of the server? I thought it didnt depend on the server, but what time you wanted the server to use in the script.
 
I'm experience the same problem, and I've almost given it up. Still getting;
 

Microsoft VBScript runtime error '800a000d'

Type mismatch: 'CDate'

/forum/common.asp, line 314

Back to Top
Unleash_Hell View Drop Down
Newbie
Newbie


Joined: 26 September 2005
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote Unleash_Hell Quote  Post ReplyReply Direct Link To This Post Posted: 07 October 2005 at 7:37am
Have anyone found a fix on this error?
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: 10 October 2005 at 8:25am
It's a server misconfigartion error that can be fixed by updating the LCID locale in the common.asp file
Back to Top
jclothier View Drop Down
Newbie
Newbie


Joined: 12 October 2005
Location: United Kingdom
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote jclothier Quote  Post ReplyReply Direct Link To This Post Posted: 12 October 2005 at 5:17am
I am also having the problem of having a 1and1 server in Germany. I have set the correct LCID and if I change my time offset in my user settings all displays ok. Is it possible to enable a time offset of say -1 for all users? Also if you are not logged on and are a Guest the time stamp is wrong. Is there a way of changing that?
Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post Posted: 12 October 2005 at 5:19am
if you look in the mods forum scotty 32 has made a change offset globally MOD

its in the mod's forum

regards to the timestamp for guests what value are you getting.
Back to Top
jclothier View Drop Down
Newbie
Newbie


Joined: 12 October 2005
Location: United Kingdom
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote jclothier Quote  Post ReplyReply Direct Link To This Post Posted: 12 October 2005 at 6:06am
Originally posted by dj air dj air wrote:

if you look in the mods forum scotty 32 has made a change offset globally MOD

its in the mod's forum

regards to the timestamp for guests what value are you getting.
 
When you just browse to the site the time is showing as German time, e.g. one hour ahead of actual time. When I log on, because of my time offset, all is ok. I want to be able to change this so that the time is always uk time. I blame 1And1 really! Wink
Back to Top
 Post Reply Post Reply Page  <123>

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.