jtime

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (

	//定义每分钟的秒数
	SecondsPerMinute int64 = 60
	//定义每小时的秒数
	SecondsPerHour int64 = SecondsPerMinute * 60
	//定义每天的秒数
	SecondsPerDay int64 = SecondsPerHour * 24
)

时间常量

Variables

This section is empty.

Functions

func ResolveTime

func ResolveTime(seconds int64) (day int, hour int, minute int, second int)

时间转换函数

Types

This section is empty.

Jump to

Keyboard shortcuts

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