Dates and Days

Dates and Days

im trying to write a script where if a persons joining date is 2/18/2011, six months later they start accuring 1 vacation day each month. So far this is what i got:
 
dateDiff = input.Date_of_Joing - zoho.currentdate;
If (dateDiff < 180 (refering to days)
      Number_of_Days_Available = 0
else
      Number_of_Days_Available =
 
I dont know what to put after that