Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^3: perl basic count days between two dates

by jethro (Monsignor)
on Oct 02, 2013 at 21:59 UTC ( [id://1056683]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my$fullYear;
    if ( NumberOfDaysBetween($startDay,$endDay ,$endDay,$eMon) == 365){
    ...
        }
        return $fullYear;
    }
    
  2. or download this
    print "1,1,1,1 == ",NumberOfDaysBetween(1,1,1,1),"\n";
    print "1,1,5,1 == ",NumberOfDaysBetween(1,1,5,1),"\n";
    print "1,1,1,2 == ",NumberOfDaysBetween(1,1,1,2),"\n";
    print "8,3,3,8 == ",NumberOfDaysBetween(8,3,3,8),"\n";
    exit(0);
    
  3. or download this
    print "daysBetween=",$daysBetween,"\n";
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (5)
As of 2024-04-23 18:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found