Go (Golang) date and time libraries
Parsing, formatting and time-zone libraries for Go, ranked by GitHub stars
Actualizado · GitHub stars (stars)
Por qué estos 20
Ranked by GitHub stars: how many developers bookmarked the project. Stars measure attention, not quality, so each row also shows forks, licence and the last push. Tools without a public repository have no star count and can't be ranked here.
-
1
dromara/carbon
A simple, semantic and developer-friendly time package for golang.
5,225 stars 279 forkslast push 2026-11-20GoMIT
-
2
-
3
dateparse
Parse date's without knowing format in advance.
2,141 stars 178 forkslast push 2023-12-30GoMIT
-
4
uniplaces/carbon
Simple Time extension with a lot of util methods, ported from PHP Carbon library.
779 stars 55 forkslast push 2024-01-17GoApache-2.0
-
5
-
6
go-persian-calendar
The implementation of the Persian (Solar Hijri) Calendar in Go (golang).
244 stars 29 forkslast push 2025-09-28GoMIT
-
7
-
8
timeutil
Useful extensions (Timedelta, Strftime, ...) to the golang's time package.
193 stars 15 forkslast push 2019-02-03GoMIT
-
9
go-sunrise
Calculate the sunrise and sunset times for a given location.
178 stars 21 forkslast push 2024-04-23GoMIT
-
10
iso8601
Efficiently parse ISO8601 date-times without regex.
170 stars 25 forkslast push 2026-10-29GoMIT
-
11
date
Augments Time for working with dates, date ranges, time spans, periods, and time-of-day.
142 stars 26 forkslast push 2026-10-23GoBSD-3-Clause
-
12
go-str2duration
Convert string to duration. Support time.Duration returned string and more.
125 stars 11 forkslast push 2026-09-14GoBSD-3-Clause
-
13
timespan
For interacting with intervals of time, defined as a start time and a duration.
84 stars 12 forkslast push 2019-03-19GoMIT
-
14
feiertage
Set of functions to calculate public holidays in Germany, incl. specialization on the states of Germany (Bundesländer). Things like Easter, Pentecost,...
55 stars 9 forkslast push 2026-05-18GoMIT
-
15
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.
37 stars 4 forkslast push 2026-09-11GoMIT
-
16
-
17
timex
A Go package that extends the standard library time with dedicated date and time-of-day types.
23 stars 1 forkslast push 2026-10-27GoMIT
-
18
approx
A Duration extension supporting parsing/printing durations in days, weeks and years.
19 stars 2 forkslast push 2026-11-09GoBSD-3-Clause
-
19
cronrange
Parses Cron-style time range expressions, checks if the given time is within any ranges.
18 stars 6 forkslast push 2022-09-04GoMIT
-
20
Referencias
- avelino/awesome-go: Date and Time, GitHub community list (list text MIT; star counts from the GitHub API). Checked 2026-11-20 22:11 UTC.
- avelino/awesome-go (Date and Time), GitHub community list, 25 tools with a public repository.