Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-10-2007, 09:58 PM
Senior Member
 
Join Date: Nov 2007
Posts: 111
bugger is on a distinguished road
File creating date/time
I want to get file creation date/time. I only found a method to get file modification date/time.

Code:
File file = new File("file.txt"); file.lastModified();
Any help will be appreciated.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 11-11-2007, 08:43 PM
Member
 
Join Date: Nov 2007
Posts: 97
javaplus is on a distinguished road
I don't think there is any method for getting file creation date.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change the date of modification of a file Java Tip java.io 0 04-05-2008 11:10 AM
How to find file created date..... roshithmca Advanced Java 1 02-18-2008 10:48 AM
Date/Time Servlet Java Tip Java Tips 0 01-14-2008 10:34 AM
Time and Date in Java java_fun2007 New To Java 4 11-06-2007 08:25 PM
how to get the current date and time valery New To Java 1 08-03-2007 07:05 PM


All times are GMT +3. The time now is 10:41 AM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org