Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^3: Calender billing_prt

by thezip (Vicar)
on Jan 23, 2014 at 22:25 UTC ( [id://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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (4)
As of 2024-04-20 12:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found