I promise this will be my last post on this topic, Ive tried that code now and im getting an "incompatible type conversion " :( this is driving me nuts
editted below
Code:
DATE dt;
SYSTEMTIME stime;
FILETIME filetime;
/*******************************************************/
memcpy(&filetime, createdTime, sizeof(DATE));
FileTimeToSystemTime( &filetime, &stime ); // convert to structure
cout << stime.wMonth << "/" << stime.wDay << "/ " << stime.wYear << " Time:" << stime.wHour<<":"<< stime.wMinute << ":"<<stime.wSecond
<<"\n";
Ive got this to compile but the date and time is not correct.....IM SURE IM CLOSE:)!!