bob323
Jan 10th, 2002, 12:59 PM
I am trying to get the date that a file was created into a character array by using the windows api I have been doing the following:
static HANDLE h;
WIN32_FIND_DATA wfd;
char creation [64];
h = FindFirstFile ("myfile.c", &wfd);
sprintf(creation, "%i",wfd.ftCreationTime.dwHighDateTime);
but all I get is a bunch of garbage, anyone know how I can parse this data up so that it becomes something meaningful?
static HANDLE h;
WIN32_FIND_DATA wfd;
char creation [64];
h = FindFirstFile ("myfile.c", &wfd);
sprintf(creation, "%i",wfd.ftCreationTime.dwHighDateTime);
but all I get is a bunch of garbage, anyone know how I can parse this data up so that it becomes something meaningful?