The following is the example of date validator.
Once you have included the necessary Javascript and CSS files, the date widget can be applied to a text entry field like this:
$('#dob').datetextentry();
Note, the default field order is DD/MM/YYYY but this can be changed easily as shown in the next example.