Documentation ¶
Index ¶
- func GetBeginningOfDay() int64
- func GetNowSecondTimestamp() int64
- func GetNowTimestamp() int64
- func GetTimeBucket(timestamp int64) int64
- func GetTimeFromTodayBegin() int64
- func GetTimestamp(timestamp string) time.Time
- func GetUTC8BeginningOfDay() int64
- func GetUTC8NowTime() time.Time
- func GetUTC8Time(timestamp int64) time.Time
- func GetUnixTimestamp(timestamp float64) time.Time
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTimeBucket ¶
GetTimeBucket method
Example ¶
result := GetTimeBucket(1537343157984) fmt.Println(result)
Output: 1537329856512
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.