in reply to Time Piece Error Parsing

Why strptime ? Try using strftime

my $date = $t->strftime('%m%d%Y');