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!

File Create Date

Status
Not open for further replies.

tmryan

Programmer
Dec 22, 2000
73
0
0
US
I have an open file that I opened with FileOpen(1, OpenFileDialog1.FileName, OpenMode.Input). How do I read the File create date of the file?

Thanks
Tim Tim Ryan
PROGRESS Developer
 
Use the static GetCreationTime method of the File object.

Dim MyFile as File
Dim CT as DateTime

CT = MyFile.GetCreationTime("c://mypath")

Chip H.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top