dates

package module
v0.0.0-...-61c377c Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2023 License: GPL-3.0 Imports: 1 Imported by: 2

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 into 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 go 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