Versions in this module Expand all Collapse all v1 v1.5.0 Jul 19, 2026 Changes in this version + const HoursInADay + const MaxHoursInAMonth + const MaxHoursInAYear + var PeriodCollection = []Period + var Range = map[Period]int + func DayFormat(t time.Time) int + func DaysIn(t time.Time) int + func FromStr(timeStr string) (time.Time, error) + func MinsToHoursAndMins(val int) (hrs, mins int) + func Round(t float64) int + func RoundToEnd(t time.Time) time.Time + func RoundToStart(t time.Time) time.Time + func SecsToMinsAndSecs(secs float64) (int, int) + func ToKey(t time.Time) []byte + type Period string + const Period14Days + const Period180Days + const Period30Days + const Period365Days + const Period7Days + const Period90Days + const PeriodAllTime + const PeriodToday + const PeriodYesterday