//don't look any more this is how you make it //select you datepicker then you can use setDate function and also add a dateFormat $( ".selector" ).datepicker({ dateFormat: "yy-mm-dd" }).datepicker( "setDate", new Date());
z=++a-++a+b---c