in reply to Re^2: Calender billing_prt
in thread Calender billing_prt
... and you're wanting to know how to do *what* ?
Perhaps sprintf() might be your friend:
my @parts = localtime(time); my $now = sprintf('%04d-%02d-%02d %02d:%02d:%02d', $parts[5]+1900, $parts[4]+1, $parts[3], $parts[2], $parts[1], $parts[0]); print "The current date/time is $now.\n";
*My* tenacity goes to eleven...
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Calender billing_prt
by oikool (Novice) on Jan 23, 2014 at 22:48 UTC | |
by thezip (Vicar) on Jan 23, 2014 at 23:17 UTC |
In Section
Seekers of Perl Wisdom