Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Windows API for checking file created date?

Status
Not open for further replies.

parsman

Programmer
Jul 15, 2003
17
0
0
US
Does anyone know of a Windows API fucntion we can use to access the date a text file was created?

Thanks
 
My suggestion would be to use the PFC File Service object n_cst_filesrvwin32. It has two functions, of_GetCreationDate and of_GetCreationDatetime, that will return the creation date of a file.

If you do not want to use the PFC service, look at the PFC object pfc_n_cst_filesrvwin32 in pfcapsrv.pbl and examine the script for the of_GetCreationDatetime function. It will point you to the external API function calls and structures you will need to create a similar function in your application.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top