in reply to
How would you convert a DateTime instance to a unix timestamp?
By using the appropriate method
$dt->epoch()
.
Comment on
Re: How would you convert a DateTime instance to a unix timestamp?
Download
Code
In Section
Seekers of Perl Wisdom