California Sick Pay Formula

SUGGESTED

I need to create a formula for the new mandatory California Sick Pay Law. 

The employee needs to accrue 1 hour for every 30 hours worked.  How do I do this in Sage 50?

They can accrue up to 6 days a year (48 hours).  They are allowed to take 3 days (24 hours ) per year.  how to best calculate and track this?