Documentation ¶
Index ¶
- func Date2Int(t *time.Time) int
- func GetTimeFormatIntervalArray(from *time.Time, to *time.Time, layout string, lastday bool, ...) ([]string, error)
- func NowUTCPointer() *time.Time
- func NowUTCRFC33399() string
- func NowUTCRFC33399Shift(year, month, day int) string
- func ParseDuration(unit string, interval int64) time.Duration
- func ParseTime(s string) (*time.Time, error)
- func ShiftUTCPointer(year, month, day int, delta, trunc time.Duration) *time.Time
- func Time2Int64(t *time.Time) int64
- func TimeInterval(t1 *time.Time, t2 *time.Time, duration time.Duration) float64
- func TruncateHMS(t *time.Time) *time.Time
- func YYYY_MM_dd(t *time.Time) string
- func YYYY_MM_dd_HH_mm_ss(t *time.Time) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NowUTCPointer ¶
func NowUTCRFC33399 ¶
func NowUTCRFC33399() string
func NowUTCRFC33399Shift ¶
func ShiftUTCPointer ¶
func Time2Int64 ¶
func YYYY_MM_dd ¶
func YYYY_MM_dd_HH_mm_ss ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.