Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

How do I convert from date to integer ?

by Anonymous Monk
on Feb 07, 2001 at 16:58 UTC ( [id://56943]=perlquestion: print w/replies, xml ) Need Help??

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

How do I convert from date to integer ?

Originally posted as a Categorized Question.

  • Comment on How do I convert from date to integer ?

Replies are listed 'Best First'.
Re: How do I convert from date to integer ?
by jeroenes (Priest) on Feb 07, 2001 at 18:55 UTC
Re: How do I convert from date to integer ?
by davorg (Chancellor) on Feb 07, 2001 at 17:05 UTC

    Probably by parsing the date into its components and using timelocal from the Time::Local module.

Re: How do I convert from date to integer ?
by Anonymous Monk on Feb 07, 2001 at 20:12 UTC
    my $inttime = scalar $time;

    Originally posted as a Categorized Answer.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (2)
As of 2024-04-26 05:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found