Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re: Re: Re: Re: Sorting by date

by Anonymous Monk
on Jan 07, 2004 at 05:48 UTC ( #319375=note: print w/replies, xml ) Need Help??

in reply to Re: Re: Re: Sorting by date
in thread Sorting by date

I am sorry to bug you again. I've fiddled with this code a great deal but then I realized I had to change the script just a little bit. Now I'm lost as to how to make the little change I need to get it working again.

The date we separated earlier was month, day, year. I now have to make it seperate by day, month, year (Britian's way of doing dates). I tried changing the line @n[2,0,1]; to @n[1,0,2]; but no changes occured. Is there something else I have to change to make it separate the string into day, month, year instead of month, day, year?

Again, sorry for bothering you. Hopefully there is a quick fix for this.

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Sorting by date
by Roger (Parson) on Jan 07, 2004 at 06:26 UTC
    @n[2,1,0] # shuffle from DD MM YY ==> YY MM DD or reverse @n # reverse the order

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://319375]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2018-02-25 19:53 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (314 votes). Check out past polls.