Date comparison

Hello everybody,
I must compare 2 dates but I'm not able to do it.
I tried this but a very long error comes out:


"Datario" is DatePicker.
Thanks

A post was merged into an existing topic: Sum with dates of date-picker