Go time
10 functions
time.Nowtime.Now() time.TimeReturns the current local time.
time.Sincetime.Since(t time.Time) time.DurationReturns the time elapsed since t.
time.Untiltime.Until(t time.Time) time.DurationReturns the duration until t.
time.Parsetime.Parse(layout, value string) (time.Time, error)Parses a formatted string and returns the time value it represents.
time.Formatt.Format(layout string) stringReturns a textual representation of the time value.
time.Addt.Add(d time.Duration) time.TimeReturns the time t+d.
time.Subt.Sub(u time.Time) time.DurationReturns the duration t-u.
time.Unixtime.Unix(sec, nsec int64) time.TimeReturns the local Time corresponding to the given Unix time.
time.Sleeptime.Sleep(d time.Duration)Pauses the current goroutine for at least the duration d.
time.Durationtime.Duration (type)A duration type representing the elapsed time between two instants as nanoseconds.
