date

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2019 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Overview

Package date contains various date-related utilities

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DayBoundary

func DayBoundary(t time.Time) (time.Time, time.Time)

DayBoundary returns start and end of the provided day

func MonthBoundary

func MonthBoundary() (firstDay, lastDay time.Time)

MonthBoundary return first and last day of current month

Types

This section is empty.

Jump to

Keyboard shortcuts

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