time 0.3.46

Date and time library. Fully interoperable with the standard library. Mostly compatible with #![no_std].
Documentation
1
2
3
4
5
6
7
8
use time::macros::datetime;

fn main() {
    let _ = datetime!(2021-000 0:00);
    let _ = datetime!(2021-001 24:00);
    let _ = datetime!(2021-001 0:00 0);
    let _ = datetime!(2021-001 0:00 UTC x);
}