package opentelemetry

  1. Overview
  2. Docs

Unix timestamp.

These timestamps measure time since the Unix epoch (jan 1, 1970) UTC in nanoseconds.

type t = int64
val ns_in_a_day : int64
val now_unix_ns : unit -> t

Current unix timestamp in nanoseconds

OCaml

Innovation. Community. Security.