> The reason being when I store this into a sql database
> and sort it using a sql statement say by ascending order,
> it comes out as ...
no
dates are stored in databases as some humungous integer measuring the number of days from january 1, 0000 or some other base date
dates are
always converted, both going into a database (being stored) and coming out (being queried)
so if you are not getting the right
display format on dates that you are querying, then you must change the way you format the date in the SELECT (you could also do it in ASP, i suppose, but it's much easier to do it in the SELECT)
if you are using Microsoft Access, check out the FORMAT function in the help
if you are using SQL Server, see
CAST and CONVERT
you will probably want CONVERT(char(10),
yourdate,101)
be careful sorting on it, because it is a string, and 03/24/2003 will come before 12/31/1999
you may want to keep
yourdate in the SELECT list as well, and sort on that
rudy
http://rudy.ca/