You have the right to take time off in line with your employer's time off policy. If you follow it and are denied, that denial is a violation of your rights as a worker.
You also have the right to take unpaid leave for medical appointments, medical emergencies, and personal emergencies.