Function jay_lib::fns::fn_io::get_file_time_name
source · pub fn get_file_time_name() -> String
Expand description
get a file name from now. it is year month day hour and minute. Often use for temporary file.
let p=get_file_time_name();
let s="12345";
fs::write(p, s)?;