shell script to find latest date and time of the files

Hi everyone,

Please help:)

I have a list of 1000 different files which comes daily to the directory.Some of
the files are not coming to the directory now.

I need to write a shell script to find the latest date and time of the files they
came to the directory. The files should be unique.

All the files ends with 'in'.

The output should somewhat look like this.

aeredrin Sep 1 time
agetrtin Aug 26 time
--------
---------
----------
---------
lkkjijin Mar 27 time
erwitein mar 1 time
--------
--------
--------
-------- and so on ...

Each file as to appear only once in the list

Thanks a lot ..

Please don't post duplicate threads.