JDAtNorthStar
Programmer
Is there something in IIS that overrides the computer's Short date format in the Regional Options?
I have an ASP app that uses the VBScript FormatDateTime function to format dates using the NamedFormat argument of vbShortDate. The Short date in the Regional Options on the Win2k web server is set to MM/DD/YYYY. However, the date gets formatted to M/D/YYYY format. When I run the same app on PWS, the date gets properly formatted to MM/DD/YYYY format. I also tried changing the Short date format on the Win2k web server to m/d/yy but I still get M/D/YYYY. Is there something in IIS that overrides the computer's Regional Options? If so, can I change it? I really need the output to be MM/DD/YYYY format. Per the InterDev help file, the vbShortDate argument should... "Display a date using the short date format specified in your computer's regional settings."
Any help on this matter would be greatly appreciated.
I have an ASP app that uses the VBScript FormatDateTime function to format dates using the NamedFormat argument of vbShortDate. The Short date in the Regional Options on the Win2k web server is set to MM/DD/YYYY. However, the date gets formatted to M/D/YYYY format. When I run the same app on PWS, the date gets properly formatted to MM/DD/YYYY format. I also tried changing the Short date format on the Win2k web server to m/d/yy but I still get M/D/YYYY. Is there something in IIS that overrides the computer's Regional Options? If so, can I change it? I really need the output to be MM/DD/YYYY format. Per the InterDev help file, the vbShortDate argument should... "Display a date using the short date format specified in your computer's regional settings."
Any help on this matter would be greatly appreciated.