Time functions
Use these functions to work with time values.
Use these functions to work with time values.
time.AsTime INPUT [TIMEZONE] ⟼ time.TimeReturns the given string representation of a date/time value as a time.Time value. Read More »
time.Duration TIME_UNIT NUMBER ⟼ time.DurationReturns a time.Duration value using the given time unit and number. Read More »
time.Format LAYOUT INPUT ⟼ stringReturns the given date/time as a formatted and localized string. Read More »
time.Now ⟼ time.TimeReturns the current local time. Read More »
time.ParseDuration DURATION ⟼ time.DurationReturns a time.Duration value by parsing the given duration string. Read More »