Documentation
¶
Index ¶
- Variables
- func SetTimezone(tz string)
- type Time
- func (this Time) Add(t time.Duration) Time
- func (this Time) AddString(str string) Time
- func (this Time) ToDateString() string
- func (this Time) ToDateTime2String() string
- func (this Time) ToDateTimeString() string
- func (this Time) ToFormatString(format string) string
- func (this Time) ToTime() time.Time
- func (this Time) ToTimeString() string
- func (this Time) ToTimestamp() int64
- func (this Time) WithTime(t time.Time) Time
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DateFormat = "2006-01-02" TimeFormat = "15:04:05" DateTimeFormat = "2006-01-02 15:04:05" DateTime2Format = "20060102150405" )
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.