IsValid() on date entry issue
I just needed a quick way to validate a date entry using a Custom Dialog, so I used IsValid ( date_field ) in a script...
Funny enough, when I enter "31-12-201" it returns 1 (validated).
Of course the year 201 is a valid year...but not what I want...is there a way to limit this to, say, from 1900 and so on, or do I need to make a custom function? Normally I validate dates using the table settings, etc, but I just came accross this...