stat -c takes a custom format string: %F is the file type, %s the size in bytes, and %y the last modification time with full precision. It is the fastest way to get exactly the fields a script needs. See stat --help for the full format specifier list.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.