Date format under IIS
This is a discussion about Date format under IIS in the Windows Software category; I need the date format to be in UK format eg. 15/03/2002. I have setup the regional settings for the date and time which all appear to work but if I request the date using ASP it displays it as 3/15/02 Where am I going wrong? there must be something I have missed.
I need the date format to be in UK format eg. 15/03/2002. I have setup the regional settings for the date and time which all appear to work but if I request the date using ASP it displays it as 3/15/02
Where am I going wrong? there must be something I have missed.
Where am I going wrong? there must be something I have missed.
Participate in our website and join the conversation
This subject has been archived. New comments and votes cannot be submitted.
Mar 15
Mar 15
0
1 minute
Responses to this topic
If you don't find any other way you could always write an ASP function to convert the date to a sensible format. I think that's what I ended up doing though it's been a while since I used ASP.
Give this a shot:
http://www.4guysfromrolla.com/ASPScripts/PrintFAQ.asp?FAQID=35
If you are about to try ASP.NET, the System.DateTime namespace gives you a ton more options to play with the formatting if you like.
http://www.4guysfromrolla.com/ASPScripts/PrintFAQ.asp?FAQID=35
If you are about to try ASP.NET, the System.DateTime namespace gives you a ton more options to play with the formatting if you like.