How can I avoid that people select wrong dates?