/timex

Time helper for Golang.

Primary LanguageGoMIT LicenseMIT

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)