How i can pay for ot for employee

Iwant to add over time to employee that if he worked at day off hour rate will be *2 and iwant to get hour rate based on salary component how i can make that .