packetstormer has asked for the wisdom of the Perl Monks concerning the following question:
Hello Monks
Could anyone point me in the right direction to calculate the number of seconds between two dates, taking into consideration weekends, holidays and the working day (9-5:30)?
I have been looking at Data:Calc and Date::Calendar to figure out the days between two working days. However, I need it figure out how it make it more exact. For example, a start time of Friday @4:33pm to end time of the following Wednesday @5:10pm. I was hoping the former two libraries might have a "to_epoch" routine but no such luck
Suggestions would be most welcome!!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Calculate seconds between dates
by ikegami (Patriarch) on Nov 23, 2017 at 22:45 UTC | |
|
Re: Calculate seconds between dates
by thanos1983 (Parson) on Nov 24, 2017 at 23:13 UTC | |
|
Re: Calculate seconds between dates
by Your Mother (Archbishop) on Nov 23, 2017 at 22:14 UTC | |
by ikegami (Patriarch) on Nov 23, 2017 at 22:33 UTC | |
|
Re: Calculate seconds between dates
by Anonymous Monk on Nov 24, 2017 at 13:59 UTC |