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 将秒转为-天-小时-分钟-秒
Click to show internal directories.
Click to hide internal directories.