I am in need of a formula to calculate the accrued vacation days available for an employee based on the following criteria:

Hire date is 1/1/2012
using as of 3/30/2014 instead of today,how many days would an employee accrue using the below policy guidelines:

1yr=0 eligibility
1yr>2yrs =5 days
>2yrs or more= 10 days

Thank you