in reply to Re: create array from strftime
in thread create array from strftime
Or read the output of strftime(3). :)
Here's another example:
Here's another example:
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;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: create array from strftime
by ikegami (Patriarch) on Jun 20, 2012 at 19:45 UTC | |
by taint (Chaplain) on Jun 20, 2012 at 22:19 UTC |
In Section
Seekers of Perl Wisdom