How to make permissions per hour and link them to the system instead of days?

The employee permissions system works in hours or days, not just days