pub fn get_file_creation_time(path: &Path) -> Result<DateTime<Local>>Expand description
Gets the modification time of a file, falling back to creation time.
Uses modification time as primary because it’s more reliable across platforms and is what backup tools typically track for file age.
§Errors
Returns an error if file metadata cannot be read or no timestamp is available.