Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DurationToHMS ¶ added in v0.0.8
func FormatDatetime ¶
FormatDatetime creates an ISO 8601 formatted string based on provided time.
func GetCurrentDatetime ¶
func GetCurrentDatetime() string
GetCurrentDatetime returns current UTC date and time in ISO 8601 date format without timezone info (e.g. 2023-04-13T08:19:03)
func GetCurrentDatetimeIn ¶ added in v0.0.5
GetCurrentDatetimeIn returns current local date and time in ISO 8601 date format without timezone info (e.g. 2023-04-13T08:19:03)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.