Date Validation Script from Documentation not working

Hello.

You might want to look up this.

Regards,

Ivan