title: Comparing dates of two files in shell
body: <p>I have two files created at different times.</p>
  
  <p>In my shell scripting program, I want to initialize a variable with the date of the file which was created earlier.</p>
  
  <p>For eg. if file1 was created on 22 April and file2 was created on April 19. my variable should be initialized to 19th April.</p>
  
  <p>How can I do this in bash shell?</p>