Try to search your question here, if you can't find : Ask Any Question Now ?

I want to show date (dd-mm-yyyy) format

HomeCategory: stackoverflowI want to show date (dd-mm-yyyy) format
willson asked 3 weeks ago

In my table currently shows 2019-01-21 this format and i want to show 21-01-2019 like this

I am trying like this

<table>
<tr>
 <th>DOB</th>
</tr>

 <?php foreach($employees as $post){?>
 <tr>
 <td><?php echo $post->user_date_of_birth;?></td>
 </tr>
 <?php }?>
</table>
1 Answers
Best Answer
Jyoti answered 3 weeks ago
Your Answer

0 + 7 =

Popular Tags

WP Facebook Auto Publish Powered By : XYZScripts.com