in reply to Seeing if a Time is Within a Range

As long as all the fields are all zero-padded, the standard lexical string order is what you want. No need to do any fancy conversion, the string comparison operators will work fine:
my $date = ...; if ( $date ge $begin and $date le $end ) { ... }

blokhead