dtt

Macro dtt_now

Source
macro_rules! dtt_now {
    () => { ... };
}
Expand description

Creates a new DateTime instance with the current date and time in UTC.

ยงExample

use dtt::dtt_now;

let now = dtt_now!();
println!("Current date and time: {}", now);