Documentation
¶
Index ¶
- func Date() string
- func DateTime() string
- func FormatDate(t time.Time) string
- func FormatDateTime(t time.Time) string
- func FormatUnix(t int64, layout string) string
- func IsRFC3339(str string) bool
- func IsTime(str string, format string) bool
- func ParseDate(tstr string) (time.Time, error)
- func ParseDateTime(tstr string) (time.Time, error)
- func ToUnix(tstr string) int64
- type TimeRange
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatDate ¶
func FormatDateTime ¶
func FormatUnix ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.