Date and Time

23 packages

Packages (23)

carbon

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

5,219 261

now

Now is a time toolkit for golang.

4,659 240

dateparse

Parse date's without knowing format in advance.

2,136 174

carbon

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

783 56

durafmt

Time duration formatting library for Go.

510 50

go-persian-calendar

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

237 27

timeutil

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

193 15

go-sunrise

Calculate the sunrise and sunset times for a given location.

172 22

iso8601

Efficiently parse ISO8601 date-times without regex.

157 18

date

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

142 25

go-str2duration

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

117 10

timespan

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

84 12

feiertage

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

52 9

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.

34 4

kair

Date and Time - Golang Formatting Library.

24 6

approx

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

17 2

cronrange

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

17 7

strftime

C99-compatible strftime formatter.

14 5

tuesday

Ruby-compatible Strftime function.

12 3

go-week

An efficient package to work with ISO8601 week dates.

11 8

go-faketime

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

5 2