timeutils

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AllDayDefaultLayout = "2006-01-02"
View Source
var DefaultLayout = "02 01 2006"
View Source
var DefaultLayoutWithTime = "02 01 2006 15:04"

Functions

func ConvertToGoLayout

func ConvertToGoLayout(format string) string

func DaysIn

func DaysIn(month time.Month, year int) int

func EndOfDay

func EndOfDay(t time.Time) time.Time

func ParseWithCustomFormat

func ParseWithCustomFormat(format, input string) (time.Time, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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