sort dateTime

Scott Raney raney at metacard.com
Mon Jan 21 21:12:01 EST 2002


On Mon, 21 Jan 2002  yves COPPE <yvescoppe at skynet.be> wrote:

> Here a list of date (european format).
> I've asked :
> 
> sort lines of fld "whatever" dateTime
> that's the result !!
> 
> 25/01/2001
> 19/04/2001
> 15/05/2001
> 13/08/2002
> 27/07/2001
> 02/03/2001
> 05/01/2001
> 12/02/2001
> 12/06/2001
> 01/08/2002
> 04/05/2002
> 12/05/2002
> 11/05/2003
> 
> What is the solution ??

This should work if you set the useSystemDate property to true, but
you do need to use the same delimiter as the system formatted date
(which is not / with most D-M-Y formats).  It's also a 2.4.1 engine
feature, so you probably need to be using 1.1.1 to do this.
  Regards,
    Scott

********************************************************
Scott Raney  raney at metacard.com  http://www.metacard.com
MetaCard: You know, there's an easier way to do that...




More information about the use-livecode mailing list