Turn-around time in PHP
        Posted  
        
            by 
                user73409
            
        on Programmers
        
        See other posts from Programmers
        
            or by user73409
        
        
        
        Published on 2012-11-23T03:40:47Z
        Indexed on 
            2012/11/23
            5:09 UTC
        
        
        Read the original article
        Hit count: 315
        
php
|time-tracking
Is there any one who had tried to build/convert a php version of the Excel method in computing Turn-around time(excluding holidays, weekends and non-business hours)?
Excel Turn-around Time Computation: =(NETWORKDAYS(A2,B2,H$1:H$10)-1)*("17:00"-"8:00")+IF(NETWORKDAYS(B2,B2,H$1:H$10),MEDIAN(MOD(B2,1),"17:00","8:00"),"17:00")-MEDIAN(NETWORKDAYS(A2,A2,H$1:H$10)*MOD(A2,1),"17:00","8:00")
:REF-URL[http://www.mrexcel.com/forum/excel-questions/514097-i-need-formual-calculate-turn-around-time.html]
Thanks.
© Programmers or respective owner