Sixem

PHP Show Current Time / Date

Jun 7th, 2013
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.10 KB | None | 0 0
  1. <?php
  2. $timezone = date_default_timezone_get();
  3. $date = date('m/d/Y h:i:s a', time());
  4. echo $date;
  5. ?>
Advertisement
Add Comment
Please, Sign In to add comment