timeutil

package
v0.0.0-...-bf05b68 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SecondToDHMSResult

type SecondToDHMSResult struct {
	Day    int64 `json:"day"`    // 天
	Hour   int64 `json:"hour"`   // 小时
	Minute int64 `json:"minute"` // 分钟
	Second int64 `json:"second"` // 秒
}

func SecondToDHMS

func SecondToDHMS(seconds int64) *SecondToDHMSResult

SecondToDHMS 将秒转为-天-小时-分钟-秒

Jump to

Keyboard shortcuts

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