Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

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.


Comment on Re: Re: Re: Re: Sorting by date
Select or Download Code
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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://319375]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2014-07-26 14:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (177 votes), past polls