Awesome Go

Date and Time

26 libraries in this category

carbon

A simple, semantic and developer-friendly time package for golang

5,222Date and TimeDate and Time
carbon

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

4,705Date and TimeLibraries for working with dates and times.
now

Now is a time toolkit for golang

4,704Date and TimeDate and Time
dateparse

Parse date's without knowing format in advance

2,142Date and TimeDate and Time
carbon

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

780Date and TimeDate and Time
durafmt

Time duration formatting library for Go

511Date and TimeDate and Time
go-persian-calendar

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

244Date and TimeDate and Time
gostradamus

A Go package for working with dates

208Date and TimeDate and Time
timeutil

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

193Date and TimeDate and Time
go-sunrise

Calculate the sunrise and sunset times for a given location

177Date and TimeDate and Time
iso8601

Efficiently parse ISO8601 date-times without regex

170Date and TimeDate and Time
date

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

142Date and TimeDate and Time
go-str2duration

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

122Date and TimeDate and Time
timespan

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

84Date and TimeDate and Time
feiertage

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

55Date and TimeDate and Time
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

36Date and TimeDate and Time
kair

Date and Time - Golang Formatting Library

24Date and TimeDate and Time
timex

A Go package that extends the standard library time with dedicated date and time-of-day types

22Date and TimeDate and Time
approx

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

19Date and TimeDate and Time
cronrange

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

18Date and TimeDate and Time
strftime

C99-compatible strftime formatter

14Date and TimeDate and Time
tuesday

Ruby-compatible Strftime function

13Date and TimeDate and Time
go-week

An efficient package to work with ISO8601 week dates

11Date and TimeDate and Time
go-date-fns

A comprehensive date utility library for Go, inspired by date-fns, with 140+ pure and immutable functions

6Date and TimeDate and Time
go-datebin

A simple datetime parse pkg

5Date and TimeDate and Time
go-faketime

A simple `time.Now()` that honors the faketime(1) utility

5Date and TimeDate and Time