XP is just a number | |
PerlMonks |
Re: How can I format the output of localtime?by jacques (Priest) |
on Oct 21, 2004 at 18:34 UTC ( [id://401260]=note: print w/replies, xml ) | Need Help?? |
This is an update of Roy Johnson's great answer, for those who just want the current time formatted in m/d/y.
Or if month and day should always be two digits:
In Section
Seekers of Perl Wisdom
|
|