use POSIX qw(strftime); # POSIX is your friend # see man strftime(3) for format options my $gmtstring = strftime "%F %H:%I:%S %z", localtime; print $gmtstring;
Hope this helps.
my $perl_version( 5.12.4 ); print $perl_version;
In reply to Re^2: create array from strftime
by taint
in thread create array from strftime
by mhearse
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |