package influxdb

  1. Overview
  2. Docs

Module Influxdb.TimestampNSSource

TimestampNS represents a UNIX timestamp with up to nanosecond precision

Sourcetype t = int64
Sourceval of_float_seconds : float -> t

Creates a new t from a float value assumed to be in second precision

Sourceval to_string_precision : Precision.t -> t -> string

Returns a string value of t truncated to the provided precision