How can i get date in this format
YYYY-MM-DD HH-MM-SS
perl -E'use Time::Piece::ISO; ($t=localtime) =~s/T/ /; $t =~s/:/-/g; say $t'
Cheers, Sören
Créateur des bugs mobiles - let loose once, run everywhere.
(hooked on the Perl Programming language)
In reply to Re: Date format YYYY-MM-DD HH-MM-SS
by Happy-the-monk
in thread Date format YYYY-MM-DD HH-MM-SS
by Rahul Gupta
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |