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

Re: Re: Calculate down time of devices in prime time (only working hours, excluding p_holidays)

by wufnik (Friar)
on Oct 13, 2003 at 11:47 UTC ( #298814=note: print w/replies, xml ) Need Help??


in reply to Re: Calculate down time of devices in prime time (only working hours, excluding p_holidays)
in thread Calculate down time of devices in prime time (only working hours, excluding p_holidays)

hola moxiliukas;

unfortunately, Date::Calc cannot contend with business days, nor holidays. if you wanted to use Date::Calc, you'd have to implement that stuff yourself. great if you've lost your hair shirt...;-)

ttfn
...wufnik

-- in the world of the mules there are no rules --
  • Comment on Re: Re: Calculate down time of devices in prime time (only working hours, excluding p_holidays)

Replies are listed 'Best First'.
Re: Re: Re: Calculate down time of devices in prime time (only working hours, excluding p_holidays)
by Mr. Muskrat (Canon) on Oct 14, 2003 at 01:53 UTC

    Sure it can. Check out: check_business_date, Standard_to_Business, Business_to_Standard, Easter_Sunday & the recipes (especially #10 solution #2).

    It's not necessarily the easiest way to do it though. ;-)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (2)
As of 2021-12-01 19:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    R or B?



    Results (14 votes). Check out past polls.

    Notices?