$( ".tarih" ).datepicker({ dateFormat: 'dd-mm-yy' });
<input type="text" name="" class="tarih">