in reply to determining work hours between 2 dates

I have a similar requirement in the application I manage. There I have the added complexity that work hours are not necessarily the same for all employees (part-timers, weekend duty, ...), weekends don't fall on the same days in all countries (eg. Middle East), holidays are not the same in all countries, etc ...
Just wanted to mention this, in case you overlooked.
  • Comment on Re: determining work hours between 2 dates

Replies are listed 'Best First'.
Re: determining work hours between 2 dates
by kosie99 (Acolyte) on Jun 13, 2006 at 16:23 UTC
    Thanks for all the input people! I am going to give it a try with the Date::Calendar module using the delta_workdays method. It handles holidays, etc. If I get it to work I will post however I have done it here for scrutiny from you all :) Kosie
      Ok, I finally decided to do it without any Date:: modules. Here is a working version of my script and I admit some places look a bit crude ;)