Documentation

system.time() function

system.time() returns the current system time.

Function type signature
() => time
For more information, see Function type signatures.

Examples

Return a stream of tables with the current system time

import "array"
import "system"

array.from(rows: [{time: system.time()}])

Was this page helpful?

Thank you for your feedback!


Upgrade to InfluxDB Cloud or InfluxDB 2.0!

InfluxDB Cloud and InfluxDB OSS 2.0 ready for production.