Documentation ¶
Overview ¶
Package times contains time utility functions for Mute.
Index ¶
Constants ¶
View Source
const Day = uint64(24 * 60 * 60)
Day defines the number of seconds in a day.
Variables ¶
This section is empty.
Functions ¶
func NinetyDaysLater ¶
func NinetyDaysLater() int64
NinetyDaysLater returns the time 90 days later from now in UTC.
func Now ¶
func Now() int64
Now returns the current time in UTC as Unix time, the number of seconds elapsed since January 1, 1970 UTC.
func NowNano ¶
func NowNano() int64
NowNano returns the current time in UTC as Unix time, the number of nanoseconds elapsed since January 1, 1970 UTC.
func OneYearLater ¶
func OneYearLater() int64
OneYearLater returns the time one year later from now in UTC.
func ThirtyDaysLater ¶
func ThirtyDaysLater() int64
ThirtyDaysLater returns the time 30 days later from now in UTC.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.