The Best Go Libraries For Date and Time - Libraries for working with dates and times. (22)
Discover the best Go libraries for Date and Time in Libraries for working with dates and times.! Find the perfect tools to streamline your development and boost productivity. From strftime to timespan, we've got you covered. Let the coding begin!
strftime
C99-compatible strftime formatter.
timespan
For interacting with intervals of time, defined as a start time and a duration.
approx
A Duration extension supporting parsing/printing durations in days, weeks and years.
carbon
A simple, semantic and developer-friendly golang package for datetime.
carbon
Simple Time extension with a lot of util methods, ported from PHP Carbon library.
cronrange
Parses Cron-style time range expressions, checks if the given time is within any ranges.
date
Augments Time for working with dates, date ranges, time spans, periods, and time-of-day.
dateparse
Parse date's without knowing format in advance.
durafmt
Time duration formatting library for Go.
feiertage
Set of functions to calculate public holidays in Germany, incl. specialization on the states of Germany (Bundesländer). Things like Easter, Pentecost, Thanksgiving...
go-anytime
Parse dates/times like "next dec 22nd at 3pm" and ranges like "from today until next thursday" without knowing the format in advance.
go-datebin
A simple datetime parse pkg.
go-persian-calendar
The implementation of the Persian (Solar Hijri) Calendar in Go (golang).
go-str2duration
Convert string to duration. Support time.Duration returned string and more.
timeutil
Useful extensions (Timedelta, Strftime, ...) to the golang's time package.
go-sunrise
Calculate the sunrise and sunset times for a given location.
go-week
An efficient package to work with ISO8601 week dates.
gostradamus
A Go package for working with dates.
iso8601
Efficiently parse ISO8601 date-times without regex.
kair
Date and Time - Golang Formatting Library.
now
Now is a time toolkit for golang.
tuesday
Ruby-compatible Strftime function.