Documentation
¶
Index ¶
- Variables
- func ParseTimeYmsHms(timeStr string) (time.Time, error)
- func ParseTimeYmsHmsLoc(timeStr string, loc *time.Location) (time.Time, error)
- func ParseTimeYmsHmsS(timeStr string) (time.Time, error)
- func ParseTimeYmsHmsSLoc(timeStr string, loc *time.Location) (time.Time, error)
- func TimeToStringFormat(t time.Time, format string) string
- func TimeToStringYmdHms(t time.Time) string
- func TimeToStringYmdHmsS(t time.Time) string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Year = "2006" Month = "01" Day = "02" Hour = "15" Minute = "04" Second = "05" FmtYMdHmsSSS = "2006-01-02 15:04:05.000" FmtYMdHmsS = "2006-01-02 15:04:05.0" FmtYMdHms = "2006-01-02 15:04:05" FmtYMdHm = "2006-01-02 15:04" FmtYMdH = "2006-01-02 15" FmtYMd = "2006-01-02" FmtYM = "2006-01" FmtY = "2006" FmtYYYYMMdd = "20060102" FmtHmsSSSMore = "15:04:05.000000000" FmtHmsSSS = "15:04:05.000" FmtHms = "15:04:05" FmtHm = "15:04" FmtH = "15" )
Functions ¶
func ParseTimeYmsHmsLoc ¶
func ParseTimeYmsHmsSLoc ¶
func TimeToStringYmdHms ¶
func TimeToStringYmdHmsS ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.