Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: POSIX strftime

by crouchingpenguin (Priest)
on Jun 25, 2003 at 12:30 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://268833]
help
Chatterbox?
and the web crawler heard nothing...

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

    No recent polls found