Determine File Creation Date Java

Determine File Creation Date Java

In this sample java class you will see how to determine file creation date using Java program. We will use JDK 7 java.nio pakcage to determine creation date:

  • Sample Java Program:

  • Output:

Determine File Creation Date Java

  • For more information about java.nio package please refer this oracle link

Leave a Reply

Your email address will not be published. Required fields are marked *