https://github.com/facebook/time
Meta's Time libraries
https://github.com/facebook/time
Last synced: 11 months ago
JSON representation
Meta's Time libraries
- Host: GitHub
- URL: https://github.com/facebook/time
- Owner: facebook
- License: apache-2.0
- Created: 2020-04-20T11:29:32.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2025-04-23T16:56:49.000Z (11 months ago)
- Last Synced: 2025-04-24T08:52:50.960Z (11 months ago)
- Language: Go
- Homepage:
- Size: 1.96 MB
- Stars: 617
- Watchers: 22
- Forks: 77
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: CODEOWNERS
Awesome Lists containing this project
- awesome-repositories - facebook/time - Meta's Time libraries (Go)
README
# Time
[](https://github.com/facebook/time/actions/workflows/lint.yml)
[](https://github.com/facebook/time/actions/workflows/test.yml)
[](https://codecov.io/gh/facebook/time)
[](https://goreportcard.com/report/github.com/facebook/time)

[](https://pkg.go.dev/github.com/facebook/time?tab=doc)
[](https://opensource.org/licenses/Apache-2.0)
# Contents
- [Documentation](#Documentation)
- [License](#License)
## Documentation
Collection of Meta's Time Libraries such as NTP and PTP
### cmd
All executables provided by this repo.
### NTP
NTP-specific libraries, including protocol implementation.
### PTP
PTP-specific libraries, including protocol implementation.
### Leaphash
Utility package for computing the hash value of the official leap-second.list document
### leapsectz
Utility package for obtaining leap second information from the system timezone database
### PHC
Library to work with PTP Hardware Clock (PHC).
### Timestamp
Library to work with NIC hardware/software timestamps.
### oscillatord
Implementation of monitoring protocol used by Orolia [oscillatord](https://github.com/Orolia2s/oscillatord).
### Calnex
Command line tool and library for a Calnex Sentinel device.
### fbclock
Client C library and Go daemon to provide TrueTime API based on PTP time.
### servo
Pi servo library
### clock
Wrapper around CLOCK_ADJTIME syscall
# License
time is licensed under Apache 2.0 as found in the [LICENSE file](LICENSE).