title: how to convert date time from UTC to UTC+01 (also in Asia/Calcutta) in PHP
body: <p>I want to convert date time from the timezone UTC to any timezone like UTC+01 and also like timezone name e.g. Asia/Calcutta.</p>
  
  <p>How can I do this?</p>
  
  <p>Here is my code </p>
  
  <pre><code>&lt;?php
  date_default_timezone_set("UTC");
  $date = new DateTime(date("Y-m-d H:i:s"));
  $date-&gt;setTimezone(new DateTimeZone('UTC+01')); 
  echo $date-&gt;format('Y-m-d H:i:s'); 
  ?&gt;
  </code></pre>
  
  <p>I am getting the following error : </p>
  
  <pre><code>Fatal error: Uncaught exception 'Exception' with message 'DateTimeZone::__construct(): Unknown or bad timezone (UTC+01)' in /var/www/html/test/index.php:6 Stack trace: #0 /var/www/html/test/index.php(6): DateTimeZone-&gt;__construct('UTC+01') #1 {main} thrown in /var/www/html/test/index.php on line 6 
  </code></pre>