# Functions
BeginningOfMonth returns the date that represents the last day of the month for a given time.
DiffHours returns the difference in hours between two times.
EndOfMonth returns the date that represents the last day of the month for a given time.
FormatDuration formats a duration to it's nearest major increment.
FromMilliseconds returns a duration from a given float64 millis value.
Max returns the earliest (min) time in a list of times.
Milliseconds returns a duration as milliseconds.
Min returns the earliest (min) time in a list of times.
MinMax returns the minimum and maximum times in a given range.
ParseTime parses a time string with a given set of formats.
ParseTimeDefaults parses a time string with the default time formats.
ToFloat64 returns a float64 representation of a time.
UnixMilliseconds returns the time in unix (seconds) format with a floating point remainder for subsecond fraction.
# Constants
SecondsPerXYZ.
SecondsPerXYZ.
Extra time formats.
Extra time formats.
Extra time formats.
Extra time formats.
Extra time formats.
# Variables
DefaultTimeFormats are the default time formats used in parsing.
# Type aliases
Ascending sorts a given list of times ascending, or min to max.
Descending sorts a given list of times ascending, or min to max.