Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Answer: Fast(er) date parsing

( #23081=categorized answer: print w/ replies, xml ) Need Help??

Q&A > dates and times > Fast(er) date parsing contributed by crazyinsomniac

my( $day, $month, $date, $time, $hour, $min, $sec, $year); ($day,$month,$date,$time,$year)=split(" ","Mon Jul 17 17:59:31 2000"); ($hour,$min,$sec)=split(":",$time);

Comment on Answer: Fast(er) date parsing
Download Code
Replies are listed 'Best First'.
(crazyinsomniac) RE: Answer: Fast(er) date parsing
by crazyinsomniac (Prior) on Jul 19, 2000 at 03:03 UTC
    Sorry about that
    my $day; my $month; my $date; my $time; my $hour; my $min; my $sec; my $year; ($day,$month,$date,$time,$year)=split(" ","Mon Jul 17 17:59:31 2000") +; ($hour,$min,$sec)=split(":",$time);
    |_____¸.·ooO--(> cRaZy is co01. <)--Ooo·.¸_____|
      my ($day,$month,$date,$hour,$min,$sec,$year)=split /[ :]/,"Mon Jul 17 +17:59:31 2000";
      cLive ;-)
Log In?

What's my password?
Create A New User
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2015-11-29 05:01 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 (746 votes), past polls