Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

A weird problem with dates.

Status
Not open for further replies.

jerry13

Programmer
Jun 19, 2001
4
CA
How do I make Windows 2000 Server always give the same output for this line of code from an asp page:
Response.Write "date = "& date()
I have two servers both with the same "Regional Settings" and yet they output two different date formats. One gives 19/06/2001 and the other gives 6/19/2001. How do I make them both say 6/19/2001?

 
Goto Start\settings\control panel\regional settings and select the date tab. You should be able to make the changes you need there.
 
As I already stated in the original message, I have adjusted the regional settings all to no avail. They are identical on both servers running the same operating systems (Windows 2000 server). The date formats are still different. Any ideas?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top