Hi Andrey
Hmmm - did you read my question ?
I dont wanna hardcode LCID - I want the server to output dates in danish format without haveing to specify LCID. I know this is possible, since I have a nother server, that does this. I just cant figure out how I managed this server to act this way.
/David
"Andrey P" wrote:
> DKrogstrup wrote:
> > I have a win2000 webserver with IIS installed.
> > In "Control Panel" > "Regional Settings" I´ve setup the server to Danish Input Locale. I´ve also setup the date format to dd-mm-yyyy
> >
> > But no matter what I do the server keep on outputting dates in american format (mm/dd/yyyy) when I output dates from my ASP-code.
> >
> > I knwo I can change this by specifying session.lcid - but I want the server to output dates in Danish format by default. I have another webserver that output my dates correct, but I cant figure how I managed to setup this server this way.
> >
> > How do I change the way IIS outputs dates from my ASP-code by default ?
>
> Make sure you have the correct LCID hardcoded:
>
<font color=purple> > <a style='text-decoration: underline;' href="http://www.codetoad.com/asp/format_date_time.asp</font" target="_blank">http://www.codetoad.com/asp/format_date_time.asp</font</a>>
>
> -Andrey
><!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: IIS outputs dates in wrong date format