luistavares

Exibindo a data atual com PHP

Aug 8th, 2014
293
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.  
  3. date_default_timezone_set('Brazil/East');
  4. $data = date('d/m/Y H:i:s');
  5. print 'Data atual: ' . $data;
  6.  
  7. ?>
RAW Paste Data