title: How send proper timestamp to influxdb with influxdb-python
body: <p>I have influxdb database <code>test</code> with measurement:</p>
  
  <pre><code>name: mes1
  time          Amount     Buy_order_id Price     
  ----          ------     ------------ -----     
  1529832177822 0.02294    132868375    130117.83 
  </code></pre>
  
  <p>I would like to make graph in Grafana, but all data are in year 1970. I have other measurement: </p>
  
  <pre><code>name: cpu_load_short
  time                Bool_value Float_value Int_value String_value host     region
  ----                ---------- ----------- --------- ------------ ----     ------
  1257894000000000000 true       0.64        3         Text         server01 us-west
  </code></pre>
  
  <p>This time works fine. I figure out, that time in measurement <code>cpu_load_short</code> are stored in ns, but data in measurement <code>mes1</code> are stored in ms.</p>
  
  <p>I receiveing time for <code>mes1</code> from websocket. Time for <code>cpu_load_short</code> is generated from python:</p>
  
  <pre><code>datetime.utcnow().strftime('%Y-%m-%dT%H:%M:%SZ')
  </code></pre>
  
  <p>All data are sent to influxdb via influxdb-python. I tried to adjust time for <code>mes1</code> and add six zeros in the end of number:</p>
  
  <pre><code>'1529832177822' -&gt; '1529832177822000000'
  </code></pre>
  
  <p>but I received:</p>
  
  <pre><code>OverflowError: signed integer is greater than maximum
  </code></pre>
  
  <p>How can I send data to influxdb and make graph from it, so the data will be in proper format and the right date? Maybe I missing something but I can't figure out why I cant send data to my database in ns but I can send it with datetime. Could anybody explain me, where is the problem? </p>