Should use WP database object methods. Work in progress.
Seems that jQuery UI theme is needed, for datepicker
MMA added