Categorygithub.com/innotechdevops/timex
modulepackage
1.0.1
Repository: https://github.com/innotechdevops/timex.git
Documentation: pkg.go.dev

# README

timex

Time helper for Golang.

Install

go get github.com/innotechdevops/timex

How to use

  • Parse by date ISO
datetime, _ := timex.ParseBy("2023-12-03T13:51:06.474Z", timex.DateTimeFormatISO)
  • Parse by GMT7
date, _ := timex.ParseByGMT7(datetime, timex.TimeFormatDash1)

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MonthsToDays Function to convert months to days considering leap years.
No description provided by the author
No description provided by the author
No description provided by the author
Parse date string 2021-09-09T00:00:00.000Z to time.Time.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ParseEndOfDay date string 2021-09-09 to time.Time.
ParseStartOfDay date string 2021-09-09 to time.Time.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author