OfficeLinebacker has asked for the wisdom of the Perl Monks concerning the following question:
I'm trying to figure out how to best (you can use your own definition of that--mine tends to be loosely aligned with what many people call "elegant.") way to print out the curent date/time in the following format:
ddmmmyy:hh:mm:ss (as in 06jan06:12:23:05)
I have Date::Calc installed but alas no DateTime modules. Even with Date::Calc, as far as I can tell, I'd need to do a substr() on the result of Month_to_Text to get the three-letter abbreviation of the month.
TIA,
Terrence
_________________________________________________________________________________
I like computer programming because it's like Legos for the mind.
|
|---|