
 Christian Hansel - 2005-03-20 10:52:17 - 
In reply to message 2 from won guyHi,
There is currently no option "Months" implemented. 
The problem with months is, that there are months with 31/30/28/29 days wich makes it a bit difficult to calculate independently from the base date. 
I have not yet included a subroutine to do this and have currently no time to think about it, either. 
Thinking it over the years component may be a bit inaccurate as well, since I think it does not differentiate between years with 365 and years with 366 days. 
My initial idea would be to check the number of days within the current month (your variable1) and all the months up to the target months ($variable2) using date("t",date) and then do some calculations with worktime['days'].
I would of course appreciate if you would try to find a way to put this within the class and mail me the result, as I do not have the time momentarily to think about it in more detail.
Hope this helps
Chris