Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Date conversion to epoch w/out mysql.pm

by vek (Prior)
on Jan 06, 2006 at 16:18 UTC ( [id://521517]=note: print w/replies, xml ) Need Help??


in reply to Date conversion to epoch w/out mysql.pm

suaveant's reply has you covered, Time::Local would be my choice if you cannot install Date::* modules from the CPAN.

use Time::Local; my $epoch = timelocal($sec, $min, $hours, $mday, $mon, $year);

-- vek --

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (2)
As of 2024-04-19 01:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found