Go-lang Date and Time

Back

1. carbon

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

2. cronrange

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

3. date

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

4. dateparse

Parse date's without knowing format in advance.

5. durafmt

Time duration formatting library for Go.

6. feiertage

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

7. go-persian-calendar

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

8. go-str2duration

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

9. go-sunrise

Calculate the sunrise and sunset times for a given location.

10. go-week

An efficient package to work with ISO8601 week dates.

11. gostradamus

A Go package for working with dates.

12. iso8601

Efficiently parse ISO8601 date-times without regex.

13. kair

Golang Formatting Library.

14. now

Now is a time toolkit for golang.

15. NullTime

Nullable `time.Time`.

16. strftime

C99-compatible strftime formatter.

17. timespan

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

18. timeutil

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

19. tuesday

Ruby-compatible Strftime function.