title: Determine file creation time in java
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/2723838/determine-file-creation-date-in-java">Determine file creation date in Java</a>  </p>
  </blockquote>
  
  
  
  <p>I have a file named <code>abc.txt</code> which is created by my application in <code>c:</code>. Now I have to write logic in such way
  that if file is created within 1 hour timeframe then I have to print: </p>
  
  <blockquote>
    <p>file is created within 1 hour itself</p>
  </blockquote>
  
  <p>and if file is created more than 1 hour before then to print the statement:</p>
  
  <blockquote>
    <p>It has been more then 1 hour the file is created</p>
  </blockquote>
  
  <p>How can I achieve this?</p>