Hello there. I have several scripts that I have written and use at work, but one uses the Time::Piece module and strptime to output a date I pull from a text file. Currently, the code reads:
$date1 = Time::Piece->strptime($date, '%D, %M, %b, %Y') ;It outputs the date correctly, but adds in a time of 00:00:00 which I do not want it too. It currently prints out like Fri Mar 11 00:00:00 2016. I would like it to print Friday Mar 11, 2016. Is there some secret to using strptime to get this done?
Thanks, GrorkGnomIn reply to Using Time::Piece Strptime by GrorkGnom
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |