Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Date Format Problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Date Format Problem

 Post Reply Post Reply
Author
Brent View Drop Down
Newbie
Newbie
Avatar

Joined: 16 May 2008
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote Brent Quote  Post ReplyReply Direct Link To This Post Topic: Date Format Problem
    Posted: 12 June 2008 at 7:56pm
I've been running webwiz for a few weeks now and our users love it. Their only gripe is the default date format. Us silly americans have grown use to the mm/dd/yyyy format.  I set this as the default in the admin panel, but it still defaults to dd/mm/yyyy. If the user sets their own preference in the member control panel it works fine, but
it defaults to dd/mm/yyyy for them.
 
 I would really like to set the default to mm/dd/yyyy so that all 900 of our users do not have to go set the preference manually.
 
Any ideas as to why it will not change? or how to make the users default to mm/dd/yyyy?
 
 
 
 
 
 
Back to Top
123Simples View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 July 2007
Location: United Kingdom
Status: Offline
Points: 1192
Post Options Post Options   Thanks (0) Thanks(0)   Quote 123Simples Quote  Post ReplyReply Direct Link To This Post Posted: 12 June 2008 at 8:47pm
I know I have seen this somewhere before but I can't find it at the moment. However, whilst your users may mostly be from the states, there may be "others" who want to join who perhaps do not like the mm/dd/yyyy format

I'm sure someone else will answer your point though who does know what file to alter
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: 13 June 2008 at 8:34am
If you change the default date to mm/dd/yyyy format in the admin area this will not change it for users who are already registered as they would need to choose their own date format from their forum profile.

It will change the default date to mm/dd/yyyy for those people not logged in and for new signups who's default date settings would be set to that in the admin area unless they override them by setting their own date format.
Back to Top
Brent View Drop Down
Newbie
Newbie
Avatar

Joined: 16 May 2008
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote Brent Quote  Post ReplyReply Direct Link To This Post Posted: 13 June 2008 at 12:58pm
I have the default date setting in the admin panel as mm/dd/yyyy but new users are still defaulting to dd/mm/yyyy.
 
Is it possible that this is because I'm using the AD mod? I'll go look through the code and see if I can figure it out.
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: 13 June 2008 at 1:03pm
It could be because of that as new users are created differently when using AD
Back to Top
Brent View Drop Down
Newbie
Newbie
Avatar

Joined: 16 May 2008
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote Brent Quote  Post ReplyReply Direct Link To This Post Posted: 13 June 2008 at 2:13pm
Thats exactly what the issue was.
 
If anyone else is using the AD mod and has this problem..
 
---------------------------------------------
in functions_windows_authentication.asp
 
find:
strDBTrue & ", " & _
"'dd/mm/yy', " & _
 
replace with:
strDBTrue & ", " & _
"'mm/dd/yy', " & _
------------------------------
 
-Brent
 
 
 
 
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.