apps

package
v0.0.0-...-82d4744 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bod

func Bod() time.Time

Bod returns the time at the Begninning of Day

func FormatDate

func FormatDate(t time.Time) string

FormatDate takes a time and returns a nicely formatted date, complete with day suffix (1st, 2nd, 3rd etc.)

hattip: https://stackoverflow.com/a/28890625

func FormatDateAndTime

func FormatDateAndTime(t time.Time) string

FormatDateAndTime returns a nicely formatted date and time, which it does by appending the time as HH:MM (24hr form) to the output of FormatDate

Types

This section is empty.

Directories

Path Synopsis
hex

Jump to

Keyboard shortcuts

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