date: 5th january and 1st may ?????

M

mark | r

Im haing issues with dates, theyre swapping between us and uk formats so
things are being displayed as the 1st jan or 5th may (01.05 or 05.01)
theres no logic to it, and its totally random displaying it correctly one
minute and incorrectly the next... anyone help?

mark
www.iosilver.co.uk
 
E

Evertjan.

mark | r wrote on 20 sep 2005 in
microsoft.public.inetserver.asp.general:
Im haing issues with dates, theyre swapping between us and uk formats
so things are being displayed as the 1st jan or 5th may (01.05 or
05.01) theres no logic to it, and its totally random displaying it
correctly one minute and incorrectly the next... anyone help?

This related to anything ASPish?

Always use yyy/mm/dd like:

2005/09/20

and you don't hai no problems with us nomore.
 
B

Bullschmidt

Here's an interesting, related article (although the link may no longer
work):

Dates & Times - Usage & Formatting by Darryl Fosbery - 7/15/2000
http://www.asp-help.com/articles/dates.asp
"Firstly, the basics. US standard format is MM/DD/YY - and since almost
all operating systems and databases are writen around the US market,
that is generally the default format. You can configure Windows NT and
SQL Server to operate with another format, but SQL Server in particular
is not entirely reliable in this respect - it operates at it's core in
US format no matter what date format you set it up for. Of course, if
you're working with a web hosting provider you have no choice in the
matter and you'll almost always find that they have set up their
machines in standard US format."
"When allowing user date input, always try to set up separate dropdown
boxes for the day, month and year."

Best regards,
J. Paul Schmidt, Freelance ASP Web Developer
http://www.Bullschmidt.com
ASP Design Tips, ASP Web Database Demo, Free ASP Bar Chart Tool...

<<
Im haing issues with dates, theyre swapping between us and uk formats so
things are being displayed as the 1st jan or 5th may (01.05 or 05.01)
theres no logic to it, and its totally random displaying it correctly
one
minute and incorrectly the next... anyone help?

mark
www.iosilver.co.uk
 

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

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,051
Latest member
CarleyMcCr

Latest Threads

Top