date time display

  • Thread starter Thread starter nicola
  • Start date Start date
N

nicola

We have just moved one of our web sites from a Win NT box
to a Win 2k box, the site is written in asp and connects
to an external db (sql). The problem is that on the new
box the date time fields on the page show in a different
format which is then causing the site to fall over when a
user tries to use it.

The dates formats are as below:
NT box - 12/7/03 6:00:00 AM
Win2k box - 07/12/2003 06:00:00

The code is the same as is the data in the database. I'm
thinking it's probably a date/time setting on the actual
server.

Any info would be great. I know I can add in coding to
format all the dates correctly but this would be very time
consuming.

Thanks.
 
If it is the OS then you can change the date\time format in Control Panel
Date\Regional Settings\Time or Date tab.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top