|
|
| Don't ask to ask, just ask | |
| PerlMonks |
Re: Want to format date and timeby space_monk (Chaplain) |
| on Nov 17, 2012 at 22:50 UTC ( #1004356=note: print w/ replies, xml ) | Need Help?? |
|
Well the current local time is returned by localtime Formatting that time can be done in many different ways in Perl. The quickest way is probably to use the Posix strftime function. Putting the two together gives:
A Monk aims to give answers to those who have none, and to learn from those who know more.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||