Date and Time
25 libraries in this category
A simple, semantic and developer-friendly golang package for datetime.
A Duration extension supporting parsing/printing durations in days, weeks and years
Simple Time extension with a lot of util methods, ported from PHP Carbon library
Parses Cron-style time range expressions, checks if the given time is within any ranges
Augments Time for working with dates, date ranges, time spans, periods, and time-of-day
Parse date's without knowing format in advance
Time duration formatting library for Go
Set of functions to calculate public holidays in Germany, incl. specialization on the states of Germany (Bundesländer). Things like Easter, Pentecost, Thanksgiving..
Parse dates/times like "next dec 22nd at 3pm" and ranges like "from today until next thursday" without knowing the format in advance
A simple datetime parse pkg
The implementation of the Persian (Solar Hijri) Calendar in Go (golang)
Convert string to duration. Support time.Duration returned string and more
Calculate the sunrise and sunset times for a given location
An efficient package to work with ISO8601 week dates
A Go package for working with dates
Efficiently parse ISO8601 date-times without regex
Date and Time - Golang Formatting Library
Now is a time toolkit for golang
C99-compatible strftime formatter
For interacting with intervals of time, defined as a start time and a duration
Useful extensions (Timedelta, Strftime, ...) to the golang's time package
Ruby-compatible Strftime function
A simple, semantic and developer-friendly time package for golang
A comprehensive date utility library for Go, inspired by date-fns, with 140+ pure and immutable functions
A simple `time.Now()` that honors the faketime(1) utility