Cute Gopher Mascot

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.

Discover More! 🚀

timespan

For interacting with intervals of time, defined as a start time and a duration.

Discover More! 🚀

approx

A Duration extension supporting parsing/printing durations in days, weeks and years.

Discover More! 🚀

carbon

A simple, semantic and developer-friendly golang package for datetime.

Discover More! 🚀

carbon

Simple Time extension with a lot of util methods, ported from PHP Carbon library.

Discover More! 🚀

cronrange

Parses Cron-style time range expressions, checks if the given time is within any ranges.

Discover More! 🚀

date

Augments Time for working with dates, date ranges, time spans, periods, and time-of-day.

Discover More! 🚀

dateparse

Parse date's without knowing format in advance.

Discover More! 🚀

durafmt

Time duration formatting library for Go.

Discover More! 🚀

feiertage

Set of functions to calculate public holidays in Germany, incl. specialization on the states of Germany (Bundesländer). Things like Easter, Pentecost, Thanksgiving...

Discover More! 🚀

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.

Discover More! 🚀

go-datebin

A simple datetime parse pkg.

Discover More! 🚀

go-persian-calendar

The implementation of the Persian (Solar Hijri) Calendar in Go (golang).

Discover More! 🚀

go-str2duration

Convert string to duration. Support time.Duration returned string and more.

Discover More! 🚀

timeutil

Useful extensions (Timedelta, Strftime, ...) to the golang's time package.

Discover More! 🚀

go-sunrise

Calculate the sunrise and sunset times for a given location.

Discover More! 🚀

go-week

An efficient package to work with ISO8601 week dates.

Discover More! 🚀

gostradamus

A Go package for working with dates.

Discover More! 🚀

iso8601

Efficiently parse ISO8601 date-times without regex.

Discover More! 🚀

kair

Date and Time - Golang Formatting Library.

Discover More! 🚀

now

Now is a time toolkit for golang.

Discover More! 🚀

tuesday

Ruby-compatible Strftime function.

Discover More! 🚀