The other day I needed a date field in one of my custom content forms. I wanted a nice looking datepicker with that too.
Here is how I did it:
First start with your form.
This will have the following output:
Now add our datepicker popup with the following code:
This will give you something like:
Now you can also add a date_format like this: