Click to See Complete Forum and Search --> : I want to Find the date a text file was created
Steve Thomas
Nov 24th, 1999, 01:51 AM
I want to find the date a file was created on the users hard drive. I can find it by using API's but it returns the time in UTC. Anyone know how to either convert UTC time or an API that will get the time in a format I can read?
Aaron Young
Nov 24th, 1999, 01:56 AM
You can find the Creation/Last Modification Date/Time using the VB Function FileDateTime(), eg.
Caption = FileDateTime("C:\MyFile.txt")
------------------
Aaron Young
Analyst Programmer
aarony@redwingsoftware.com
adyoung@win.bright.net
[This message has been edited by Aaron Young (edited 11-24-1999).]
Steve Thomas
Nov 24th, 1999, 02:03 AM
Thanks. I don't know why I thought I had to use an API. I guess you get going in one direction and can not shift gears.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.