|
-
Jan 10th, 2002, 01:59 PM
#1
Thread Starter
Addicted Member
File creation date
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?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|