http://qs321.pair.com?node_id=1071838


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
    i was asking how to call the system PC time that i have written in perl script and use it in the xml code .

      I'm sure your XML code is a wonder to behold, but until you show it to us, it doesn't exist, and we can't help you with your date/time problem...


      *My* tenacity goes to eleven...