Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Business Date Range Only

by GotToBTru (Prior)
on Aug 01, 2014 at 17:47 UTC ( [id://1095939]=note: print w/replies, xml ) Need Help??


in reply to Business Date Range Only

What modules are you using?

1 Peter 4:10

Replies are listed 'Best First'.
Re^2: Business Date Range Only
by Anonymous Monk on Aug 01, 2014 at 18:29 UTC
    use Time::localtime; use Date::Calc qw(:all); use Date::Manip;

      When I run your code in debug, DateCalc($start_date_parsed,$end_date_parsed) returns an empty string. If I add a 3rd parameter, 2 (per an example I found), it returns the days between in the form '0:0:1:4:0:0:0'. I think you need to examine the requirements of the module routines more carefully.

      1 Peter 4:10
        How do you run it in 'debug' mode??

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (9)
As of 2024-04-23 09:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found