Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: Date (US format)


Message #1 by "Adeola" <aoadeyemo@h...> on Tue, 19 Jun 2001 13:02:03
Hi all,

I've developed an app. for both US and UK based clients. I'm trying to 

test my date entries in both formats, but on changing my computer's 

regional setting from british (my default) to US. The Date() still returns 

as dd/mm/yyyy.

Has anyone got any suggestions/ideas as how i could actually get a US 

format on my machine pls.



Thanks in advance

Ade'
Message #2 by "Ken Schaefer" <ken@a...> on Thu, 21 Jun 2001 10:47:54 +1000
You need to set the locale for the SYSTEM user, not for the logged on user

(you).



In WinNT there is a check box on the general tab of the Regional Settings

Control Panel titled "Set as System Default Locale" - you need to check this

box.



In Win2k there is a button that says "Set Default" - you need to press this

button, and then select the locale you want System to use.



HTH



Cheers

Ken



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

----- Original Message -----

From: "Adeola" <aoadeyemo@h...>

To: "ASP Web HowTo" <asp_web_howto@p...>

Sent: Tuesday, June 19, 2001 1:02 PM

Subject: [asp_web_howto] Date (US format)





: Hi all,

: I've developed an app. for both US and UK based clients. I'm trying to

: test my date entries in both formats, but on changing my computer's

: regional setting from british (my default) to US. The Date() still returns

: as dd/mm/yyyy.

: Has anyone got any suggestions/ideas as how i could actually get a US

: format on my machine pls.

:






  Return to Index