Command to find only mtime
I've got a script where I have to parse out the last modified time for a large amount of files.
Piping the output for "ls" into "cut" seems to work most of the time, but the output is unpredictable. The "fields" argument doesn't find the date modified columns consistently, and using character count is as well since the output can vary in width depending on the file name.
Is there a command that specifically displays the mtime of a file?