Look at the formulas that were in that past thread. It worked on the time as well as the day and holidays.