getting the moving hours/minutes working