local_now

Function local_now 

Source
pub fn local_now() -> Option<LocalDatetime>
Expand description

Returns the current local datetime when the environment provides it.

Environments without the system or web capability return the existing UTC epoch fallback without accessing a host clock or timezone database.