WordPress use built in date picker in any textfield

To add Jquery DatePicker in any textfield ,add following php code to to top of the page .

wp_enqueue_style('jquery-style', 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/smoothness/jquery-ui.css');

Input field looks like below

<input type="text" id="dob" name="dob" value=""/>

Finally put below js code

jQuery(document).ready(function() {
        dateFormat : 'dd-mm-yy',
		changeMonth: true,
      	changeYear: true,
		 yearRange: "1905:2000"

Visit us for more WordPress tutorials and
PHP ,Drupal, WordPress, Magento training .

Online Web Development Training,Video Tutorials