thanks, been browsing the msdn website and seem to have found somthing very usefull! Not totaly sure i fully understand what it is trying to tell me but i think it is definatly of use!
I think i understand the basic jist of things but im not sure how to get a 'handle' on my file that i am examining and want to retrieve the time and date from? I think will cause me a lot of trouble i think
HANDLE hFile; // file handle?
FILETIME ftCreate, ftAccess, ftWrite; // variables for storing dates?
SYSTEMTIME stUTC, stLocal; // Not sure
GetFileTime(hFile, &ftCreate, &ftAccess, &ftWrite)) // I think this is retrieving the times from the file handle hFile
FileTimeToSystemTime(&ftWrite, &stUTC); //conversion to time?
cout << stLocal.wMonth, stLocal.wDay, stLocal.wYear,
stLocal.wHour, stLocal.wMinute; //printing out the date?