Flux date package
The Flux date package provides date and time constants and functions.
Date and time constants
date package includes the following date and time constants.
Days of the week
Days of the week are represented as integers in the range
date.Sunday = 0 date.Monday = 1 date.Tuesday = 2 date.Wednesday = 3 date.Thursday = 4 date.Friday = 5 date.Saturday = 6
Months of the year
Months are represented as integers in the range
date.January = 1 date.February = 2 date.March = 3 date.April = 4 date.May = 5 date.June = 6 date.July = 7 date.August = 8 date.September = 9 date.October = 10 date.November = 11 date.December = 12
Date and time functions
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for InfluxDB and this documentation. To find support or submit feedback, the following resources are available:
- Post in the InfluxData Community.
- Submit documentation issues to the InfluxDB 2.0 documentation repository.
- Submit InfluxDB issues to the InfluxDB repository.
For our InfluxDB Cloud customers, InfluxData Support is also available.