I can\'t seem to find how to print out the date of a file. I\'m so far able to print out all the files in a directory, but I need to print out the dates with it.
I
You can use the stat command
stat -c %y "$entry"
More info
%y time of last modification, human-readable