TinyInflux::normalizeTimestamp
Converts timestamp to InfluxDB line protocol format (integer in configured precision).
Accepts: Unix seconds (int), date string (e.g. Y-m-d H:i:s), or already precision integer string.
Signature
protected function normalizeTimestamp(mixed
$timestamp )
Parameters
$timestamp— mixed
Returns
- string