Versions in this module Expand all Collapse all v3 v3.7.2 Nov 3, 2021 Changes in this version + type Time struct + func Date(year int, month time.Month, day, hour, min, sec, nsec int, loc *time.Location) Time + func Now() Time + func Parse(layout, value string) (Time, error) + func ParseInLocation(layout, value string, loc *time.Location) (Time, error) + func Unix(sec int64, nsec int64) Time + func (t *Time) UnmarshalJSON(b []byte) error + func (t Time) Add(d time.Duration) Time + func (t Time) AddDate(years int, months int, days int) Time + func (t Time) After(u Time) bool + func (t Time) Before(u Time) bool + func (t Time) Equal(u Time) bool + func (t Time) In(loc *time.Location) Time + func (t Time) Local() Time + func (t Time) MarshalJSON() ([]byte, error) + func (t Time) Round(d time.Duration) Time + func (t Time) Sub(u Time) time.Duration + func (t Time) Truncate(d time.Duration) Time + func (t Time) UTC() Time