timeutil

package
v0.2.22 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MonthIntervalTimeFromMon added in v0.2.16

func MonthIntervalTimeFromMon(mon string, layout ...string) (start, end string, err error)

MonthIntervalTimeFromMon return the start date and end date of the given month

func MonthIntervalTimeFromNum added in v0.2.16

func MonthIntervalTimeFromNum(mon int) (start, end string)

MonthIntervalTimeFromNum return the start date and end date of the given number if mon = 0, indicate current month if mon = -1, indicate last month if mon = 1, indicate next month

Types

This section is empty.

Jump to

Keyboard shortcuts

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