Trying to figure out how to use a specific function in kernel32.ll Here's the function

Declare Function FileTimeToLocalFileTime& Lib "kernel32" (lpFileTime as _
FILETIME, lpLocalFileTime as FILETIME)




I am using wininet.dll to download a file which works. Just trying to figure out how to convert a FILETIME to localtime so you can read the date the file was created or maybe I'm doing it the wrong way.

I want to be able to ftp to a site and check for files that are over two weeks old.