Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Formatting and sorting date

Reply
Thread Tools

Formatting and sorting date

 
 
S N
Guest
Posts: n/a
 
      05-01-2004
I have an asp page which displays records from an access table.
One of the fields in the table is a date field.
The regional settings on the webserver have set the date as mm/dd/yyyy which
I cannot change. However I need to sort the records in order of date in
dd/mm/yyyy format. the date field should also be displayed in dd/mm/yyyy
format. However the SQL string which says sorting by date field actually
sorts it in the order of month instead of date. it subsequently prints the
date in dd/mm/yyyy format but in wrong order.
Please help


 
Reply With Quote
 
 
 
 
Steven Burn
Guest
Posts: n/a
 
      05-01-2004
http://aspfaq.com/show.asp?id=2260

http://aspfaq.com/show.asp?id=2218

--

Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

Personal favourites

WebGrid - www.webgrid.co.uk
Freeware Arena - www.freewarearena.com
Freeware Home - www.freewarehome.com
Freeware Outpost -
http://free.hostdepartment.com/f/fre...st/index2.html
ZeroPlus2 - http://zp2.it-mate.co.uk
Fort Freeware - http://freeware.quantum.2ya.com/
Pricelessware - http://www.pricelessware.org
El-Mambo - http://www.el-mambo.net/
Practically Nerded - http://mvps.org/PracticallyNerded/
Bugs, Glitches n stuff - http://mvps.org/inetexplorer/Darnit.htm
Calendar of Updates - http://www.dozleng.com/updates/index.php?&act=calendar
Seniority - http://www.seniority.co.uk
Remembering Dunblane - http://www.dunblane.braveheart.com/
Rising Free - http://www.echoecho.com/


"S N" <> wrote in message
news:...
> I have an asp page which displays records from an access table.
> One of the fields in the table is a date field.
> The regional settings on the webserver have set the date as mm/dd/yyyy

which
> I cannot change. However I need to sort the records in order of date in
> dd/mm/yyyy format. the date field should also be displayed in dd/mm/yyyy
> format. However the SQL string which says sorting by date field actually
> sorts it in the order of month instead of date. it subsequently prints the
> date in dd/mm/yyyy format but in wrong order.
> Please help
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Date, date date date.... Peter Grison Java 10 05-30-2004 01:20 PM
Given a date, how to find the beginning date and ending date of that week Matt ASP General 11 11-08-2003 11:24 PM
Given a date, how to find the beginning date and ending date of that week Matt ASP .Net 1 11-08-2003 09:14 PM
Given a date, how to find the beginning date and ending date of that week Matt C Programming 3 11-08-2003 09:07 PM
Given a date, how to find the beginning date and ending date of that week Matt C++ 2 11-08-2003 08:30 PM



Advertisments