rgtime

package
v1.0.18 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: MIT Imports: 2 Imported by: 0

README

日期时间工具

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DateIntToDate

func DateIntToDate(param int64, format string) string

func NowDate

func NowDate() string

func NowTime

func NowTime() string

func NowTimeChange added in v1.0.15

func NowTimeChange(years, months, days int) (newTimeStr string)

func NowTimeInt

func NowTimeInt() int64

* @Content : 当前时间戳 * @Param : * @Return : * @Author : LiJunDong * @Time : 2021-11-08

func NowTimeMsInt

func NowTimeMsInt() int64

NowTimeMsInt 获取当前的毫秒级时间戳

func TimeToInt

func TimeToInt(param string) (t int64)

Types

This section is empty.

Jump to

Keyboard shortcuts

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