How to get Creation Time of File in Java

To get creation time of file in java we can use the java.nio.file.Files API’s readAttributes() method.

Example : Get Creation Time of File in Java

Output

Reference

1. Files readAttributes

It's only fair to share...Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn