in reply to Best way to print out a particular date-time format (very specific)
use Date::Calc qw( Today_and_Now Month_to_Text ); my ($year,$month,$day, $hour,$min,$sec) = Today_and_Now(); printf "%02d%.3s%02d:%02d:%02d:%02d", $day, lc Month_to_Text($month), $year % 100, $hour, $min, $sec ;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Best way to print out a particular date-time format (very specific)
by kabeldag (Hermit) on Jun 09, 2006 at 08:36 UTC |