Quote:
> When I use the FileDateTime it always returns the date of the file, but
it
> randomly returns the time it was created or last modified. I would like
it to
> always return the time.
I don't know what you mean, exactly.
Dim d As Date
d = FileDateTime("c:\autoexec.bat")
Debug.Print Format$(d, "short date")
Debug.Print Format$(d, "short time")
Seems to work consistently for me.
--
** For help with VB, come to #VisualBasic on IRC **
-----
"The only tools one needs in life are: WD-40 to make
things go and duct tape to make them stop." -- anon.
----------------------------------
Web: http://www.awod.com/gallery/rwav/robertjh/vbasic