Hi

I am in the process of moving my website from NT4/IIS4 to Windows 2003. Both
server are set to a short date format of (dd/mm/yy) however the Windows 2003
server appears to be ignoring this and continues to display dates in asp
pages as dd/mm/yyyy. Is there a setting in Windows 2003 that I am missing?

Thanks

Stephen

Re: Short date problem with ASP by Steven

Steven
Thu May 06 11:28:30 CDT 2004

Why not just use the FormatDateTime function?

http://surl.co.uk/?303

--

Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!


"sdm" <stephen.moss@bradford.gov.uk> wrote in message
news:uXednRsmt6Px-QfdSa8jmA@karoo.co.uk...
> Hi
>
> I am in the process of moving my website from NT4/IIS4 to Windows 2003.
Both
> server are set to a short date format of (dd/mm/yy) however the Windows
2003
> server appears to be ignoring this and continues to display dates in asp
> pages as dd/mm/yyyy. Is there a setting in Windows 2003 that I am missing?
>
> Thanks
>
> Stephen
>
>



Re: Short date problem with ASP by sdm

sdm
Thu May 06 11:37:16 CDT 2004

Steven

Thanks, I'd though of that but I would have to alter 100's of pages that
display dates without the format function.

Stephen



"Steven Burn" <pvt@noyb.com> wrote in message
news:uowtDd4MEHA.3052@TK2MSFTNGP12.phx.gbl...
> Why not just use the FormatDateTime function?
>
> http://surl.co.uk/?303
>
> --
>
> >
>
>



Re: Short date problem with ASP by Dominique

Dominique
Thu May 06 11:51:54 CDT 2004

just change the datetime format in the regional settings of the win2003
server.
oi?

"sdm" <stephen.moss@bradford.gov.uk> wrote in message
news:uXednRsmt6Px-QfdSa8jmA@karoo.co.uk...
> Hi
>
> I am in the process of moving my website from NT4/IIS4 to Windows 2003.
Both
> server are set to a short date format of (dd/mm/yy) however the Windows
2003
> server appears to be ignoring this and continues to display dates in asp
> pages as dd/mm/yyyy. Is there a setting in Windows 2003 that I am missing?
>
> Thanks
>
> Stephen
>
>



Re: Short date problem with ASP by Steven

Steven
Thu May 06 11:56:30 CDT 2004

Would be time consuming but surely it'd be worth it in the end?

--

Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!


"sdm" <stephen.moss@bradford.gov.uk> wrote in message
news:RnadnVZkP8cg9AfdSa8jmA@karoo.co.uk...
> Steven
>
> Thanks, I'd though of that but I would have to alter 100's of pages that
> display dates without the format function.
>
> Stephen
>
>
>
> "Steven Burn" <pvt@noyb.com> wrote in message
> news:uowtDd4MEHA.3052@TK2MSFTNGP12.phx.gbl...
> > Why not just use the FormatDateTime function?
> >
> > http://surl.co.uk/?303
> >
> > --
> >
> > >
> >
> >
>
>



Re: Short date problem with ASP by Aaron

Aaron
Thu May 06 13:22:38 CDT 2004

> just change the datetime format in the regional settings of the win2003
> server.

I don't believe this will work reliably unless you log on as IUSR and change
it for that profile (and also change the default/system). Changing it while
you are logged in changes it only for times when you are logged on. I've
even seen scenarios where an admin or someone can log onto the box and
suddelny the shortdate format changes because they have custom regional
settings.

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/