Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Use 'strftime' to calculate a date/time in the Past.

by Khen1950fx (Canon)
on Sep 17, 2012 at 21:35 UTC ( [id://994117]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    perl -MTime::Local=timelocal -e 'print scalar localtime timelocal qw(3
    +0 40 2 15 8 2012)';
    
  2. or download this
    #!/usr/bin/perl -l
    
    ...
    print scalar localtime timelocal(
        30, 40, 2, $days_ago, 7, 2012,
    );
    

Log In?
Username:
Password:

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

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

    No recent polls found