time 0.3.29

Date and time library. Fully interoperable with the standard library. Mostly compatible with #![no_std].


minimum rustc: 1.67 version build status codecov


Minimum Rust version policy

time is guaranteed to compile with the latest stable release of Rust in addition to the two prior minor releases. For example, if the latest stable Rust release is 1.70, then time is guaranteed to compile with Rust 1.68, 1.69, and 1.70.

The minimum supported Rust version may be increased to one of the aforementioned versions if doing so provides the end user a benefit. However, the minimum supported Rust version may also be bumped to a version four minor releases prior to the most recent stable release if doing so improves code quality or maintainability.

For interoperability with third-party crates, it is guaranteed that there exists a version of that crate that supports the minimum supported Rust version of time. This does not mean that the latest version of the third-party crate supports the minimum supported Rust version of time.


Contributions are always welcome! If you have an idea, it's best to float it by me before working on it to ensure no effort is wasted. If there's already an open issue for it, knock yourself out. Internal documentation can be viewed here.

If you have any questions, feel free to use Discussions. Don't hesitate to ask questions — that's what I'm here for!


This project is licensed under either of

at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in time by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.