Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: Get most recent data based on a date from an array of hashes.

by cavac (Parson)
on Jan 20, 2022 at 09:47 UTC ( [id://11140634]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $timestamp = '03-21-2021';
    
    my ($month, $day, $year) = split/\-/, $timestamp;
    
    my $sortkey = $day + ($month * 100) + $year * 10000;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (10)
As of 2024-04-23 14:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found