Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: time calculation

by smokemachine (Hermit)
on Feb 04, 2006 at 03:39 UTC ( [id://527885]=note: print w/replies, xml ) Need Help??


in reply to time calculation

perl -e '($sec, $min)=localtime time; printf "%.2d:%.2d", $min, $sec'
or
perl -e '$,=":";print reverse @ms=(localtime)[0, 1];'

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (2)
As of 2024-04-26 04:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found