Docs.rs
date-formatter-0.2.1
date-formatter 0.2.1
Permalink
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
sivanbil
Dependencies
chrono ^0.4.39
normal
Versions
37.5%
of the crate is documented
Platform
aarch64-apple-darwin
aarch64-unknown-linux-gnu
i686-pc-windows-msvc
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
days_between
date_
formatter
0.2.1
In date_
formatter::
utils
date_formatter
::
utils
Function
days_
between
Copy item path
Source
pub fn days_between(time1:
SystemTime
, time2:
SystemTime
) ->
i64
Expand description
计算两个 SystemTime 之间的天数差异