dates

package
v0.0.0-...-9834320 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2023 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LAYOUT string = "01-02-2006"

Functions

func DateToString

func DateToString(date time.Time) string

Converts a Time Struct inot a common string format

returns a string in format day/month/year

func StringToDate

func StringToDate(date string) (time.Time, error)

Converts a string date into a time struct

Types

This section is empty.

Jump to

Keyboard shortcuts

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