in reply to How do I convert from date to integer ?
Probably by parsing the date into its components and using timelocal from the Time::Local module.