title: How to display the exact time on php using timezone name?
body: <p>My timezone name is :America/Belem
  I need this time,</p>
  
  <p><a href="https://www.google.co.in/?gfe_rd=cr&amp;ei=ScBlVdS6GLTv8weE8YH4BQ&amp;gws_rd=ssl#q=Bel%C3%A9m+time" rel="nofollow">https://www.google.co.in/?gfe_rd=cr&amp;ei=ScBlVdS6GLTv8weE8YH4BQ&amp;gws_rd=ssl#q=Bel%C3%A9m+time</a>
   My code is</p>
  
  <pre><code>$MNTTZ = new DateTimeZone('America/Belem');
   $dt = new DateTime("now", $MNTTZ);
                      $minutes = $dt-&gt;format('i');
                      $dayhour = $dt-&gt;format('H');
                      $hour = $dt-&gt;format('h');
                      $ampm = $dayhour &gt;= 12 ? 'PM' : 'AM';
                      //$min =  $minutes &lt; 10 ? '0'.$minutes : $minutes;
                      $strTime = $hour . ':' . $minutes . ' ' . $ampm;
  </code></pre>