Sort by date and time

maya

Registered User.
Local time
Today, 14:52
Joined
Jun 11, 2003
Messages
139
How do i sort serach results by date and time? i tried to sort by date and it works but when i sort by date and time, the time gets sorted but the date gets jumbled up again. Pls help, thanks
 
yes

the date and time field is separated
 
maya,

If they each appear to work individually, then just sort by the
date, then the time:

order by TheDate, TheTime

Wayne
 
tried

yes, i tried that way and the date gets jumbled up...

Order BY [MyDate] AND [MyTime]

thats the syntax i used and it does not work...only the time gets sorted and i tried

Order By [MyDate] AND Order By [MyTime]

noithing comes out....
 
Maya,

Do not put the word AND between them, just a comma:

order by date, time

Just a comma.

Wayne
 

Users who are viewing this thread

Back
Top Bottom