Results 1 to 2 of 2
  1. #1
    bugger is offline Senior Member
    Join Date
    Nov 2007
    Rep Power

    Default File creating date/time

    I want to get file creation date/time. I only found a method to get file modification date/time.

    Java Code:
            File file = new File("file.txt");
    Any help will be appreciated.

  2. #2
    javaplus is offline Member
    Join Date
    Nov 2007
    Rep Power


    I don't think there is any method for getting file creation date.

Similar Threads

  1. Replies: 0
    Last Post: 04-05-2008, 10:10 AM
  2. How to find file created date.....
    By roshithmca in forum Advanced Java
    Replies: 1
    Last Post: 02-18-2008, 09:48 AM
  3. Date/Time Servlet
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 01-14-2008, 09:34 AM
  4. Time and Date in Java
    By java_fun2007 in forum New To Java
    Replies: 4
    Last Post: 11-06-2007, 07:25 PM
  5. how to get the current date and time
    By valery in forum New To Java
    Replies: 1
    Last Post: 08-03-2007, 06:05 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts