Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re^2: determining work hours between 2 dates

by tokpela (Chaplain)
on Jun 13, 2006 at 02:45 UTC ( #554939=note: print w/replies, xml ) Need Help??

in reply to Re: determining work hours between 2 dates
in thread determining work hours between 2 dates

>> The 2 dates have a time component as well, so the first day
>> can start any time and the end date too. So, I will need to
>> calculate the HH:MM:SS for the first and last days as well.

That's actually already taken into account in my test script above.
It does the calculations in seconds and then converts to hours.

The hard part for you may be dealing with holidays.
  • Comment on Re^2: determining work hours between 2 dates

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://554939]
[karlgoethebier]: hippo: Study the sources ; -) http://www.asterix .com/die-buecher/ die-asterix- mundart-reihe/
[choroba]: Perl to the rescue!
[Corion]: hippo: At least for the German translation, the wordplay is translated as well
[Discipulus]: always! but if i can ask choroba why you always use the inverted (to me) form 1 == $.?

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (13)
As of 2017-05-24 08:36 GMT
Find Nodes?
    Voting Booth?