Just another Perl shrine | |
PerlMonks |
Re: Using Time::Piece Strptimeby Mr. Muskrat (Canon) |
on Jan 25, 2016 at 22:19 UTC ( [id://1153618]=note: print w/replies, xml ) | Need Help?? |
It's giving you as much info as you gave it to use. '%D' is a shortcut for '%m/%d/%y'. '%M' is the minute as a decimal (0-59). '%b' is abbreviated month name. '%Y' is the year with century as a decimal. See man strptime.
Update: Fixed print and added output.
In Section
Seekers of Perl Wisdom
|
|