Documentation ¶
Overview ¶
Package date contains various date-related utilities
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DayBoundary ¶
DayBoundary returns start and end of the provided day
func MonthBoundary ¶
MonthBoundary extract month from the provided date and returns its edges
func MonthsBetweenDates ¶ added in v1.6.1
MonthsBetweenDates calculates amount of months between two dates
func MonthsCountSince ¶ added in v1.3.2
MonthsCountSince calculates the months between now and the createdAtTime time.Time value passed.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.