Get File Date Method

The Get File Date method returns the last modification date and time of a file.

Format

FileDateTime(pathname)

The following table describes the arguments that you can use with this method.

Argument Description

pathname

A string or string expression that evaluates to the name of the file to query. It can contain path and disk information. It cannot include the following wildcards:

  • * (asterisk)

  • ? (question mark)