Time restriction getting