FILEDATETIME(pathname)

Returns the date and time when a file was created or last modified (Date).


pathnameThe full pathname of the file you want to examine (String).

REMARKS
* The "pathname" may include a directory and drive.
* The equivalent .NET function is Microsoft.VisualBasic.FileSystem.FileDateTime
* For the Microsoft documentation refer to docs.microsoft.com

Debug.Print FileDateTime("C:\text.txt")    '= "21/11/14 14:08:23 PM"  

© 2022 Better Solutions Limited. All Rights Reserved. © 2022 Better Solutions Limited Top