promql.promqlDaysInMonth() function

promql.promqlDaysInMonth() implements functionality equivalent to PromQL’s days_in_month() function.

Important: The internal/promql package is not meant for external use.

Function type signature
(timestamp: float) => float
For more information, see Function type signatures.



(Required) Time as a floating point value.

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.