Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: POSIX strftime

by crouchingpenguin (Priest)
on Jun 25, 2003 at 12:30 UTC ( #268833=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    print POSIX::strftime('%Y%m%d', localtime),"\n";
    my @parts = localtime();
    $parts[3] -= 14;
    print POSIX::strftime('%Y%m%d', @parts),"\n";
    
  2. or download this
    Usage: POSIX::strftime(fmt, sec, min, hour, mday, mon, year, wday = -1
    +, yday = -1, isdst = -1)
    
  3. or download this
    #!/usr/bin/perl
    use strict;
    ...
    use_array           15598/s              --                -35%       
    +      -35%
    use_math_with_const 24000/s             54%                  --       
    +       -0%
    use_math            24064/s             54%                  0%       
    +        --
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (19)
As of 2015-07-29 15:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (265 votes), past polls