<?php # Выведет текущую дату echo date("d/m/Y"); // пример: 31/05/2019 $date_receipt = date('d/m/Y',strtotime($res[0]['date_receipt']));?>