Skip to main content

time

Function time 

Source
pub fn time() -> String
Expand description

Gets the current time, including the date and time.

ยงReturns

  • String - The formatted time as YYYY-MM-DD HH:MM:SS