Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_databases thread: SV: Re: Session.LCID...?


Message #1 by "SD-Studios" <info@s...> on Mon, 22 Apr 2002 11:16:18 +0200
Thanks a lot! =)
--
MVH, Martin Johansson
CEO & Project Supervisor
SD-Studios
+46 (0)70-3003320
http://www.sd-studios.com <http://www.sd-studios.com/>


-----Ursprungligt meddelande-----
Från: bv@n... [mailto:bv@n...]
Skickat: den 22 april 2002 09:02
Till: ASP Databases
Ämne: [asp_databases] Re: Session.LCID...?


We've encoutered the same situation, especially with IIS 4, you must
use at the begining of EACH asp page the following instruction :

Session.LCID = 4105
setlocale("XX") ' For France it is "FR",  you'll have to find the correct
letters for Sweden

We also had to use "set dateformat dmy" in our SQL Queries/stocked
proc.

By using this three instruction on any kind of server configuration
(french, US...) the date and numbers format are always working
> This is a multi-part message in MIME format.

------=_NextPart_000_0009_01C1E974.3CA18120
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Hi!
Im currently using Session.LCID to change the date-style. But it wont
work.
I've tried to put it like this:
Session.LCID = 4105

Why isnt this working?! I think the server uses IIS 5 or something..
WinNT
and the server is Swedish. Please help!
--
Martin Johansson,
CEO & Project Supervisor
SD-Studios
+46 (0)70-3003320
http://www.sd-studios.com





  Return to Index