working duration on appointments