Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Obtaining The Exact Time

by Russ (Deacon)
on Oct 08, 2002 at 00:08 UTC ( #203534=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $Now = strftime('%Y%m%d', localtime)
    
  2. or download this
    ($sec, $min, ...) = (localtime())[0..5];
    $Now = sprintf('%4d%2d%2d', $sec, $min...);
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2020-12-03 14:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you use taint mode?





    Results (56 votes). Check out past polls.

    Notices?