Like <?php echo date("d-m-Y", strtotime($date)); ?>
but in phtml?
how do I change it?
Any help will be greatly appreciated. well, thx
*edit I need to convert this value of input type text in phtml.
<input style="width:160%;" id="sp_to" type="text" class="kb-inpfield datepicker" name="sp_to" validate="isDate" value="{$specific_price_to|escape:'htmlall':'UTF-8'}" />