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

Q&A > dates and times > How do I convert from date to integer ? - Answer contributed by davorg

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

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