I am trying to set up a prompt for a month end date so that I can create variables for current year, prior year, next year. I need the user to enter a prompt for date without restricting records. When I try this....

My dates are restricted from 20170101 to user prompt 'statement date'

I need them to be able to enter 20180301 so I can figure out that 2017 is prior year, 2018 is current year and 2019 is next year.