dateformat

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2023 License: GPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TIME_FORMAT = "2006-01-02 15:04:05" //YYYY-MM-DD hh:mm:ss
View Source
var TIME_FORMAT2 = "20060102150405678" //YYYYMMDDhhmmssSSS
View Source
var TIME_FORMAT3 = "20060102150405" //YYYYMMDDhhmmss

Functions

func DateFormat

func DateFormat(date time.Time, format string) string

func GetNowDate

func GetNowDate() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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