views:

806

answers:

2

When working in Visual Studio 2005/2008 the dates are shown in mm/dd/yyyy hh:MM:ss format. Is there a way to change it to yyyy/mm/dd hh:MM:ss ??

+2  A: 

As Benjol suggested that stating where you are seeing the date would have been better but wherever the date and time is being shown, I put my money on this answer:

The dates are shown in the given format because you told it to do so. More specifically, it is your operating system date time formatting settings which governs most of the places including Visual Studio.

To confirm this, change the formatting options (Control Panel > Regional Settings) of date time and see if it works.

Hemant
A: 

Sorry I forgot to mention that the displayed date that interests me is in the Watch window. My system is in Spanish but the Visual Studio 2005 installation is in English. So even when I have a different date format, this setting does not affect VS.

Thanks a lot.

Miquel