1use chrono::Local; 2 3pub fn current_time() -> String { 4//! Determines and gets the current time for PC 5//! Nothing special here lol i just placed a 5 line code into different module 6 Local::now().format("%Y-%m-%d %H:%M:%S").to_string() 7}