Flux universe package (built-in)
universe package includes all functions that do not require a package import statement and are usable without any extra setup.
The “built-in” functions in the
universe package provide a foundation for working with data using Flux.
universe package provides the following options:
option now = () => system.time() option location = timezone.utc
Function option that, by default, returns the current system time.
The value of
now() is cached at query time, so all instances of
now() in a
script return the same time value.
Location used to determine timezone. Default is
Flux uses the timezone information (commonly referred to as “tz” or “zoneinfo”) provided by the operating system.
Was this page helpful?
Thank you for your feedback!
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for Flux and this documentation. To find support, use the following resources:
InfluxDB Cloud customers can contact InfluxData Support.