P is for Practical | |
PerlMonks |
Re^2: Date format YYYY-MM-DD HH-MM-SSby builat (Monk) |
on Oct 13, 2013 at 12:08 UTC ( [id://1058067]=note: print w/replies, xml ) | Need Help?? |
For *nix like systems the lame but the fast way is
my $date = `date +"%Y-%m-%d-%H-%M-%S"`;
In Section
Seekers of Perl Wisdom
|
|