Please post a working code snippet and a sample of the input data file if you want help cleaning up your strptime pattern. (see How do I post a question effectively?)
You can, in any case, eliminate the undesired time part of your output with:
as I showed above.my $date_sans_time = $date1->strftime("%A %b %e, %Y");
In reply to Re^3: Using Time::Piece Strptime
by 1nickt
in thread Using Time::Piece Strptime
by GrorkGnom
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |