PHP:
<?php echo date("d-m-Y",strtotime($pet['pet_lost_date']));?>
Variable Value:-
[pet_lost_date] => 16/04/2017
Output:
01-01-1970
Please help me why I searched a lot but I found nothing helpful.
Why is it appearing the wrong date? Where is an Error?
And How can I count from given date to toady total days month and years?