Versions in this module Expand all Collapse all v0 v0.3.1 Nov 15, 2022 v0.3.0 Nov 18, 2021 Changes in this version type Date + func (d Date) In(loc *time.Location) time.Time v0.1.0 Nov 18, 2021 Changes in this version + var DatabaseSeparator byte = '-' + var FiveYearAfter = Today().Add(5, 0, 0) + var FiveYearBefore = Today().Add(-5, 0, 0) + var Separator byte = '-' + func Converter(value string) reflect.Value + func InitPreformattedValues(from, to Date) + func YearsBetween(past, now Date) int + func YearsBetweenToday(dt Date) int + type Date uint32 + func New(y int, m time.Month, d int) Date + func NewFromTime(t time.Time) Date + func Null() Date + func Parse(s string) (Date, error) + func Today() Date + func (d *Date) Format(s string) string + func (d *Date) Parse(s string) error + func (d *Date) Scan(value interface{}) error + func (d *Date) String() string + func (d *Date) UnmarshalJSON(b []byte) error + func (d *Date) UnmarshalText(b []byte) error + func (d Date) Add(years, months, days int) Date + func (d Date) Date() (int, time.Month, int) + func (d Date) Day() int + func (d Date) MarshalJSON() ([]byte, error) + func (d Date) Month() time.Month + func (d Date) Time() time.Time + func (d Date) UTC() time.Time + func (d Date) Valid() bool + func (d Date) Value() (driver.Value, error) + func (d Date) Year() int