I need to change the date format to 2018-09-23 but now it shows date as 1818-09-23.
<input name="start" id="datepicker1" type="text" value="<?php echo(set_value('start') ? set_value('start') : date('yy-m-d')); ?>" class="form-control">
Is there any possible way to get the date format as 2018-09-23 etc.