If I understand you correctly
You have to get the user response (input date) as listed in my previous response:
this should give you a date say 03/01/2015
Now what you can do is:
if (var1) between (fiscalstart;fiscalend) then 1 else 0
use the fiscal period where the value =1
did you get the idea?