Awesome Go

Date and Time

25 libraries in this category

carbon

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

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

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

Date and TimeDate and Time
carbon

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

Date and TimeDate and Time
cronrange

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

Date and TimeDate and Time
date

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

Date and TimeDate and Time
dateparse

Parse date's without knowing format in advance

Date and TimeDate and Time
durafmt

Time duration formatting library for Go

Date 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..

Date 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

Date and TimeDate and Time
go-datebin

A simple datetime parse pkg

Date and TimeDate and Time
go-persian-calendar

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

Date and TimeDate and Time
go-str2duration

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

Date and TimeDate and Time
go-sunrise

Calculate the sunrise and sunset times for a given location

Date and TimeDate and Time
go-week

An efficient package to work with ISO8601 week dates

Date and TimeDate and Time
gostradamus

A Go package for working with dates

Date and TimeDate and Time
iso8601

Efficiently parse ISO8601 date-times without regex

Date and TimeDate and Time
kair

Date and Time - Golang Formatting Library

Date and TimeDate and Time
now

Now is a time toolkit for golang

Date and TimeDate and Time
strftime

C99-compatible strftime formatter

Date and TimeDate and Time
timespan

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

Date and TimeDate and Time
timeutil

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

Date and TimeDate and Time
tuesday

Ruby-compatible Strftime function

Date and TimeDate and Time
carbon

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

Date and TimeDate and Time
go-date-fns

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

Date and TimeDate and Time
go-faketime

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

Date and TimeDate and Time