Documentation ¶
Overview ¶
dateTimeUtil is a package providing some convenient functions that is date/time related.
Index ¶
Constants ¶
View Source
const (
DefaultFormat = "2006-01-02 15:04:05"
)
DefaultFormat. Highly recommended not to change this. But if you know what you are doing, feel free to change it.
Variables ¶
This section is empty.
Functions ¶
func FormatCustom ¶
FormatCustom is like Format but take in a custom format parameter.
func GetCurrentDateTime ¶
GetCurrentDateTime to get the current date time.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.