Here's the code piece I am working with:
my $dfile = 'd1528235.txt';
open my $dfh, '<', $dfile;
my $date;
while ( <$dfh> ) {
chomp;
if ( not $date and $date = join '/', /=\((\d\d)(\d\d)(\d\d)/ ) {
my $str1 = '$date';
my $date1;
$date1 = Time::Piece->strptime($date, '%D, %M, %b, %Y') ;
$worksheet->merge_range('A2:G2',$date1,$format7,);
This is what I have actually gotten to work and it works pretty well except it gives me the default time in the middle displaying out 00:00:00 between the Day and the Year.