dateutil

package
v1.2.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 31, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BeginTime

func BeginTime(param time.Time) time.Time

func ConvertToStr

func ConvertToStr(dateTime time.Time, flag int) string

func ConvertToStrByPrt

func ConvertToStrByPrt(dateTime *time.Time, flag int) string

ConvertToStrByPrt @Description: @param dateTime @param flag @return string

func EndTimeNum

func EndTimeNum(param time.Time) time.Time

func GetDistanceOfTwoDate

func GetDistanceOfTwoDate(timeStart, timeEnd time.Time) int64

GetDistanceOfTwoDate @param timeStart @param timeEnd @return int64

func ParseTimestampToTime added in v1.2.6

func ParseTimestampToTime(timestamp int64) time.Time

func ParseTimestrToTime

func ParseTimestrToTime(timeStr string, flag int) time.Time

func ParseTimestrToTimestamp

func ParseTimestrToTimestamp(timeStr string, flag int) int64

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL