
The Best Go Libraries For Date and Time (25)
Discover the best Go libraries for Date and Time! Find the perfect tools to streamline your development and boost productivity. From strftime to carbon, we've got you covered. Let the coding begin!
strftime
C99-compatible strftime formatter
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
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
go-persian-calendar
The implementation of the Persian (Solar Hijri) Calendar in Go (golang)
timeutil
Useful extensions (Timedelta, Strftime, ...) to the golang's time package
gostradamus
A Go package for working with dates
now
Now is a time toolkit for golang
approx
A Duration extension supporting parsing/printing durations in days, weeks and years
cronrange
Parses Cron-style time range expressions, checks if the given time is within any ranges
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-faketime
A simple `time.Now()` that honors the faketime(1) utility
go-str2duration
Convert string to duration. Support time.Duration returned string and more
go-week
An efficient package to work with ISO8601 week dates
iso8601
Efficiently parse ISO8601 date-times without regex
kair
Date and Time - Golang Formatting Library
timespan
For interacting with intervals of time, defined as a start time and a duration
tuesday
Ruby-compatible Strftime function
carbon
A simple, semantic and developer-friendly time package for golang
go-date-fns
A comprehensive date utility library for Go, inspired by date-fns, with 140+ pure and immutable functions
go-sunrise
Calculate the sunrise and sunset times for a given location