Answers for "get date in dmy format in php"

PHP
3

php date format dd/mm/yyyy

date("d/m/Y", strtotime($str));
Posted by: Guest on November-01-2020
0

Format and show date PHP

<?php echo date("h:i A d/m/Y", strtotime($past_event->added_date)); ?>
Posted by: Guest on October-12-2021

Browse Popular Code Answers by Language