Search code examples
pythontimeinfluxdb

InfluxDB time storing


I wanted to ask in what format does Python InfluxDB API return time? Because it doesn't return it in timestamp, when I divide it from 100 I get about 2200 years, when I divide it from 1000 I get 2024 years and when I divide it from 10000, I get 1980 years.


Solution

  • AFAIK, Influxdb API returns Timestamp in miliseconds. But for Python Influxdb API is in clearly in seconds.

    Which version of InfluxDB Python API are you using?