Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: EFI
  
 
 
 EFI
 To: maxime martel
  
 quebec
 
 maxime martel
 Tags
Subject: RE: How can i get the TIME CREATION of a file ?
Thread ID: 33738 Message ID: 33745 # Views: 1 # Ratings: 0
Version: Visual FoxPro 7 Category: General VFP Topics
Date: Tuesday, December 02, 2003 7:31:39 PM         
   


>
> Hi, want to know how it's possible to get the time creation of a file and NOT the last modified time FTIME().
>
> And i don't know why if i make an ADIR() and i get the time for a file i got 2 second over the real time.
>
> thanks.
>
> Max...

*nFileHandle use this as the file handle use fopen()
DECLARE SHORT GetFileTime IN Win32API;
INTEGER hFile, STRING @lpftCreation,;
STRING @lpftLastAccess, STRING @lpftLastWrite

GetFileTime(nFileHandle, @ldtCreate, @ldtAccess, @ldtModified)


ENTIRE THREAD

How can i get the TIME CREATION of a file ? Posted by maxime martel @ 12/2/2003 5:49:34 PM
RE: How can i get the TIME CREATION of a file ? Posted by Toby Mosby @ 12/2/2003 7:31:39 PM
RE: How can i get the TIME CREATION of a file ? Posted by maxime martel @ 12/3/2003 3:38:53 PM
RE: How can i get the TIME CREATION of a file ? Posted by Yuri Rubinov @ 12/3/2003 5:12:47 PM
RE: How can i get the TIME CREATION of a file ? Posted by maxime martel @ 12/3/2003 5:21:43 PM
RE: How can i get the TIME CREATION of a file ? Posted by Simon Arnold @ 12/3/2003 6:38:39 PM
Thanks it still work! Posted by maxime martel @ 12/3/2003 7:42:47 PM