I would like to change the backend Joomla 3.0 date format for a custom component. Right now the component is taking the Joomla date backend format which is Y-m-d and that I need to change to d-m-Y for the custom component. I couldn't find where to change that format.
But one thing I found that the component date format code is coming from the following code:
<?php echo $item->date; ?>
And I would like to show the date in the following format:
echo date_format($date, 'd-m-Y H:i:s');
But don't know how I am going to implement it with the Joomla code. Need an idea on this.