title: datetime.fromtimestamp vs datetime.utcfromtimestamp, which one is safer to use?
body: <p>I'm collecting some data from sensors and I get the timestamp from it like this: </p>
  
  <pre><code>   "time": {
              "seconds": 40, 
              "year": 115, 
              "month": 5, 
              "hours": 7, 
              "time": 1434549820776, 
              "date": 17, 
              "minutes": 3, 
              "day": 3, 
              "timezoneOffset": 420
          },
  </code></pre>
  
  <p>I have a python script that processes the data coming from the sensors (incoming data is json format), I take the value of <code>time</code> and converts into readable time format.</p>
  
  <p>I used <code>datetime.fromtimestamp(1434549820776/1000).strftime('%Y-%m-%d %H:%M:%S')</code> and that returned <code>'2015-06-17 15:03:40'</code></p>
  
  <p>Where as the <code>datetime.utcfromtimestamp(1434549820776/1000).strftime('%Y-%m-%d %H:%M:%S')</code>
  Returned: <code>'2015-06-17 14:03:40'</code></p>
  
  <p>As you can there is an hour Difference, so my question is which one is better to use?</p>