Documentation
¶
Overview ¶
Package timeutil provides time and date helpers.
Index ¶
Constants ¶
View Source
const DateLayout = "2006-01-02"
DateLayout matches the canonical date format used in configuration files.
Variables ¶
This section is empty.
Functions ¶
func DaysBetween ¶
DaysBetween returns the number of whole days between start and end.
func FormatDate ¶
FormatDate returns a formatted date or an empty string for nil.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.