Seconds-based time units
GetLangTimeFormat represents the default time format for the language
GetTimeFormat represents the
MinutesToFriendly returns a user friendly string with number of minutes converted to hours and minutes.
RawTimeSince retrieves i18n key of time since t
TimeSince calculates the time interval and generate user-friendly string.
TimeSincePro calculates the time interval and generate full user-friendly string.
TimeSinceUnix calculates the time interval and generate user-friendly string.
TimeStamp defines a timestamp
TimeStampNow returns now int64
Add adds seconds and return sum
AddDuration adds time.Duration and return sum
AsTime convert timestamp as time.Time in Local locale
AsTimeInLocation convert timestamp as time.Time in Local locale
AsTimePtr convert timestamp as *time.Time in Local locale
AsTimePtrInLocation convert timestamp as *time.Time in customize location
Format formats timestamp as given format
FormatDate formats a date in YYYY-MM-DD server time zone
FormatInLocation formats timestamp as given format with spiecific location
FormatLong formats as RFC1123Z
FormatShort formats as short
IsZero is zero time
Year returns the time's year