https://github.com/paulhammond/tai64
A Go implementation of the TAI64 and TAI64N timestamp formats
https://github.com/paulhammond/tai64
Last synced: 3 months ago
JSON representation
A Go implementation of the TAI64 and TAI64N timestamp formats
- Host: GitHub
- URL: https://github.com/paulhammond/tai64
- Owner: paulhammond
- License: mit
- Created: 2014-02-11T17:50:30.000Z (over 11 years ago)
- Default Branch: main
- Last Pushed: 2021-06-13T03:16:17.000Z (about 4 years ago)
- Last Synced: 2025-03-26T13:54:05.347Z (4 months ago)
- Language: Go
- Homepage:
- Size: 7.81 KB
- Stars: 7
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Tai64
Tai64 is a Go implementation of the [TAI64 and TAI64N timestamp formats](http://cr.yp.to/daemontools/tai64n.html).
## Usage
Install with `go get`:
go get github.com/paulhammond/tai64
Then parse some TAI64N timestamps:
time, err := tai64.ParseTai64n("@4000000037c219bf2ef02e94")
Full documentation is at http://godoc.org/github.com/paulhammond/tai64.
## License
MIT license, see LICENSE.txt for details.