FileDateTime 
Author Message
 FileDateTime

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.

Thanks.

Umberto



Wed, 22 Sep 1999 03:00:00 GMT  
 FileDateTime



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



Thu, 23 Sep 1999 04:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. FileDateTime Question

2. FileDateTime

3. FileDateTime function

4. FileDateTime for dir under different versions of windows

5. Use of FileDateTime ?

6. FileDateTime question

7. Get Modified FileDateTime

8. FileDateTime

9. Problem with FileDateTime-Help

10. Get FileDateTime

11. Slowdown of FileDateTime during a set of C: vs E: (ZIP) comparisons

12. FileDateTime

 

 
Powered by phpBB® Forum Software