Explode date formato BR


/ Published in: PHP
Save to your folder(s)

Explode de data para formato BR


Copy this code and paste it in your HTML
  1. $data = explode("-", $row_noticias['DataEvento']);
  2.  
  3. //for use try:
  4.  
  5. echo $data[2].'/'.$data[1].'/'.$data[0];

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.