open a file based on the modified time

Joined
Feb 4, 2009
Messages
1
Reaction score
0
just a small idea of how to do this is enough:
how do we get modified time to be used in a program?? i am completely a begineer and dont have any idea about this.
suppose i have a directory with files stored using the time stamp when they were closed
abc.20090128113207.txt 1/28/2009 11:32 am
abc.20090129095319.txt 1/28/2009 06:04 pm
abc.20090130094034.txt 1/30/2009 11:04 am
abc.20090130110442.txt 1/30/2009 11:18 am
now in my program that i am designing user provides an input dd/mm/yyyy hh:mm and suppose he gives 01/28/2009 05:00 it should go to the second file
i have no idea of how to select that particular file based on the modified time
that is the modified time given by the user should be matched to the list of files based on the criteria i said above

any help will be very useful to me
thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top