nathanpc

Timezone Convertion

Aug 28th, 2011
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.14 KB | None | 0 0
  1. $date = new DateTime('Sun Aug 28 19:31:16 +0000 2011', new DateTimeZone("America/Sao_Paulo"));
  2. $formatted_date = $date->format('H:i, M d');
Advertisement
Add Comment
Please, Sign In to add comment