• Jeff Moden (9/24/2009)


    I get it... you're not running the same code as in the article. Please post the code you are running. Thanks.

    You are right Jeff. The code in the article Calculating the Number of Business Hours Passed since a Point of Time[/url] does not contain the code for the function CalcTimeBetweenTwoDates.

    I posted it later in the discussion forum of the article as a reader requested for it. Please find attached the code for the function CalcTimeBetweenTwoDates in the discussion forum of the article

    Mazharuddin Ehsan (11/28/2007)


    Comments posted to this topic are about the item Calculating The Number Of Business Hours Passed Since a Point of Time [/url]

    The comments of some of the readers motivated me to do enhancements in the solution:

    1. To calculate duration between two values of time.

    2. Considering the holidays.

    See the attachment for the details.

    Edited: 1/13/2008 5:43 PM by Mazharuddin Ehsan

    CalculatingDurationOfOfficeHoursPassedBetweenTwoPointsOfTime.doc

    -Mazharuddin

    -----------------------------------------------------------[font=Arial Black]Time Is Money[/font][font=Arial Narrow]Calculating the Number of Business Hours Passed since a Point of Time[/url][/font][font=Arial Narrow]Calculating the Number of Business Hours Passed Between Two Points of Time[/font]