At 15:05 27/07/2004 +0100, Alex Tweedly wrote:

I'm having trouble with sorting things into date/time order.

I thought
put "10 June 2004, 10 July 2003, 10 April 2004" into m
sort  items of m dateTime
put m

should do what I want, (i.e. 10 July 2003, 10 April 2004, 10 June 2004), but I get
10 June 2004, 10 July 2003, 10 April 2004

If I omit the "dateTime" I get alphabetic sort - i.e.
10 April 2004, 10 July 2003,10 June 2004
as expected.

Where am I going wrong ?

OK - got it. Need to have set the useSystemdate to true and then it works.

I'm not 100% sure why - 10 June 2004 is pretty unambiguous, and doesn't change its meaning dependent on what my system date settings are, or on whether I use them or USA date interpretations.

But I now have a working script, so I'm relatively happy ...
-- Alex.

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.719 / Virus Database: 475 - Release Date: 12/07/2004
_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to