Registry / utility / datetime

datetime

JSON →
library0.5.2rscratesunverified

Library for date and time formatting and arithmetic.

# Cargo.toml [dependencies] datetime = "0.5.2"
INSTALL
IMPORT
SIG · DATETIME
D
datetime
utilityrustv0.5.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

DateTime
use datetime::DateTime;

Get the current date and time.

use datetime::DateTime; fn main() { let dt = DateTime::now(); println!("{}", dt); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.5.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
datetime — cargo add datetime · libregistry