Compatible Support Forums: Date format under IIS

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Date format under IIS

#1 User is offline   Shepski 

  • stranger
  • Group: Members
  • Posts: 7
  • Joined: 11-December 01

Posted 15 March 2002 - 05:22 PM

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.
0

#2 User is offline   Xiven 

  • addict
  • Group: Members
  • Posts: 690
  • Joined: 21-May 00

Posted 15 March 2002 - 06:50 PM

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.
0

#3 User is offline   clutch 

  • Carpal Tunnel
  • Group: Moderators
  • Posts: 3859
  • Joined: 29-March 00

Posted 15 March 2002 - 08:20 PM

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.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users