Calculate working hours between two dates