----- Original Message -----
Sent: Thursday, April 03, 2003 12:59
PM
Subject: RE: Witango-Talk: <@sort>
by date
There's a couple of ways to sort arrays by
dates.
1)
format the dates as yyyy/mm/dd and do an ascii sort
2)
convert the dates to seconds in another column in your array with
<@tstosecs> and do a numeric sort on that one
Dave
Shelley
does anyone know if theres a way with witango
to sort by date? I have the results of a query stored in a user
var and want to let them re-sort it on the fly without having to drag
the results back up from the database, and one of the columns is a date
field, is there a way or am i stuck pulling it back from the database just
to reorder the data (the search takes longer than
<@sort>).
Thanks!
Atrix
________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
with unsubscribe witango-talk in the message body
________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
with unsubscribe witango-talk in the message body