Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re: sorting dates in YYYYMMDD format

by Corion (Pope)
on Jul 04, 2013 at 07:11 UTC ( #1042348=note: print w/ replies, xml ) Need Help??

in reply to sorting dates in YYYYMMDD format

Please describe in your own words what the variables $c and $d are supposed to contain. Maybe print them out to verify your assumptions.

Have you noticed that dates in YYYYMMDD format can be sorted directly with sort? This is one of the major advantages of using YYYYMMDD as a date format.

Comment on Re: sorting dates in YYYYMMDD format
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2015-11-25 01:50 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (667 votes), past polls