Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re^3: Calender billing_prt

by thezip (Vicar)
on Jan 23, 2014 at 22:25 UTC ( #1071838=note: print w/replies, xml ) Need Help??

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...

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1071838]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (2)
As of 2022-10-02 06:16 GMT
Find Nodes?
    Voting Booth?
    My preferred way to holiday/vacation is:

    Results (7 votes). Check out past polls.