CustomViews+parameter

Hello everyone.
I need to create a CustomView where I need to pass date parameters?
These parameters, the start and end dates, need to be requested as input on a page.
Can you give me some guidance or documentation?

sintax error !!
where am I going wrong?