It might be more robust (and maybe faster) to use POSIX::mktime or Time::Local::timelocal to calculate the epoch date for both dates, and simply subtract the second from the first.
Perl 6 - links to (nearly) everything that is Perl 6.
Comment on Re: Code to calculate Delta b/w two dates in seconds