dt

package
v0.0.0-...-f82ba6c Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dtols

func Dtols(dt time.Time) string

Dtols returns a long date format i.e. Sunday August 18, 2019

func Dtos

func Dtos(dt time.Time) string

Dtos returns a short date formatted as yyyy-MM-dd

func Stod

func Stod(value string) (time.Time, error)

Stod returns a date time from a string in yyyy-MM-dd, yyyy/mm/dd, mm-dd-yyyy, or mm/dd/yyyy

func Today

func Today() time.Time

Today returns todays date with no time component.

Types

This section is empty.

Jump to

Keyboard shortcuts

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