This series of tutorial teaches you how to handle date and time in Go.
- 1How to get the current date and time in Go
- 2How to format date and time in Go
- 3How to subtract 2 dates in Go
- 4How to convert datetime to time ago in Go
- 5How to get the current timezone in Go
- 6How to convert local time to UTC time and vice versa in Go
- 7How to convert time to UNIX timestamp in Go
- 8How to convert UNIX timestamp to time in Go
- 9Go: How to get a slice of dates between 2 given dates
- 10How to calculate leap years in Go (Golang)
- 11How to calulate age based on birth date in Go
- 12How to parse RFC-3339 / ISO-8601 datetime strings in Go