0 Hillary posted How do I convert a date to a string in PHP? How do I convert a date to a string in PHP ? Edit Question
1 pratik answered Aug 19 '21 00:00 in PHP <?php echo date('d-m-Y'); ?> date() function returns the string in date format. Edit Answer