title: How to convert datetime.time from UTC to different timezone?
body: <p>I have variable which holds time which is of type datetime.time in UTC, I wanted it to convert to some other timezone.</p>
  
  <p>we can convert timezones in datetime.datetime instance as shown in this SO link - <a href="https://stackoverflow.com/questions/79797/how-do-i-convert-local-time-to-utc-in-python">How do I convert local time to UTC in Python?</a>. I am not able to figure out how to convert timezones in datetime.time instances. I can't use astimezone because datetime.time doesn't have this method. </p>
  
  <p>For example:</p>
  
  <pre><code>&gt;&gt;&gt; t = d.datetime.now().time()
  &gt;&gt;&gt; t
  datetime.time(12, 56, 44, 398402)
  &gt;&gt;&gt; 
  </code></pre>
  
  <p>I need 't' in UTC format. </p>