timeutil

package
v0.0.19 Latest Latest
Warning

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

Go to latest
Published: May 25, 2023 License: MIT Imports: 3 Imported by: 0

README

timeutil

The package contains various helpers to interact with time

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MsToTime

func MsToTime(i64 interface{}) time.Time

MsToTime converts uint64/int64 milliseconds to go time.Time

func ParseUnixTimestamp

func ParseUnixTimestamp(s string) (time.Time, error)

func RFC3339ToTime

func RFC3339ToTime(s interface{}) (time.Time, error)

RFC3339ToTime converts RFC3339 (standard extended go) to time

func SToTime

func SToTime(i64 interface{}) time.Time

Types

This section is empty.

Jump to

Keyboard shortcuts

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