how to compare the timestamp of 2 files

i want to compare the timestamp of the 2 file..
please let me know how we can achive this..

try searching here

With bash and ksh, use the the following conditional expressions :

[[ file1 -nt file2 ]]
[[ file1 -ot file2 ]]

Read the man pages for more informations.

Jean-Pierre.