gtgo_time

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2022 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GTDateEqualYearMoonDay

func GTDateEqualYearMoonDay(date1, date2 time.Time) bool

func GTDateEqualYearMoonDayHours

func GTDateEqualYearMoonDayHours(date1, date2 time.Time) bool

func GTDateGetNowYearMoonDay

func GTDateGetNowYearMoonDay() string

获取当前年月日字符串 时间格式为"2006-01-02"

func GTDateGetYearMoonDayFromTime

func GTDateGetYearMoonDayFromTime(aTime time.Time) string

获取当前年月日字符串 时间格式为"2006-01-02"

func GTGetTodayCustomHoursAndMinuteWithBeijing

func GTGetTodayCustomHoursAndMinuteWithBeijing(aHours int, aMinute int) time.Time

获取北京时间今天指定的小时、分钟

func GTToolsTimeStringCovertToUTCTime

func GTToolsTimeStringCovertToUTCTime(tiemString string) time.Time

func GTToolsTimeUTCCovertToBeijing

func GTToolsTimeUTCCovertToBeijing(inTime time.Time) time.Time

func GTToolsTimesGetBeijingTime

func GTToolsTimesGetBeijingTime() time.Time

func GTToolsTimestampCovertToBeijing

func GTToolsTimestampCovertToBeijing(timestamp float64) time.Time

Types

This section is empty.

Jump to

Keyboard shortcuts

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