TrueTime.swift
NTP library for Swift and Objective-C. Get the true time impervious to device clock changes. (by instacart)
Kronos
Elegant NTP date library in Swift (by lyft)
Our great sponsors
TrueTime.swift | Kronos | |
---|---|---|
1 | 1 | |
581 | 642 | |
0.9% | 1.9% | |
0.0 | 2.3 | |
5 months ago | 24 days ago | |
Swift | Swift | |
Apache License 2.0 | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
TrueTime.swift
Posts with mentions or reviews of TrueTime.swift.
We have used some of these posts to build our list of alternatives
and similar projects.
-
How Can I Get The Current Real Time (Not System Time)?
Truetime.swift works for me
Kronos
Posts with mentions or reviews of Kronos.
We have used some of these posts to build our list of alternatives
and similar projects.
-
Using Date() strange behaviour
If you need to be careful with dates generated client side, then you’ll need to know what the real time is. You can do this by contacting an NTP server, easier if handled through a library like Kronos. Or you can try to calculate the delta between the client clock and your backend clock and adjust Date() values accordingly. Check the “Date” HTTP header in your API responses.
What are some alternatives?
When comparing TrueTime.swift and Kronos you can also consider the following projects:
Time - 🕰 Type-safe time calculations in Swift
Every.swift - A swift wrapper for NSTimer
SwiftDate - 🐔 Toolkit to parse, validate, manipulate, compare and display dates, time & timezones in Swift.
Punctual.swift
Tempo - :watch: Date and time manager for iOS/OSX written in Swift
Chronology - Robust and type-safe date and time calculations for Swift
Timepiece - Intuitive date handling in Swift
SwiftMoment
iso-8601-date-formatter - A Cocoa NSFormatter subclass to convert dates to and from ISO-8601-formatted strings. Supports calendar, week, and ordinal formats.
Solar - A Swift micro library for generating Sunrise and Sunset times.