Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2014-09-21 18:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (175 votes), past polls