http://qs321.pair.com?node_id=56943

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.