>Is there a function in VFP to obtain the date/timestamp of a text file (or any other file type for that matter?
ADIR() will return one of the three possible time/date stamp pairings; to get at all three, the easiest mechanism is probably to use Scripting.FileSystemObject that comes as a part of the WSH - both the File Object and Folder Object of the FSO have a DateCreated, DateLastAccessed and DateModified property.
oFSO = CREATEOBJ('Scripting.FileSystemObject')
oFile = oFSO.GetFile('C:\FOO\Bar')
? oFile.DateCreated, oFile.DateLastAccessed, oFile.DateModified
THere are also a couple of API mechanisms available to get these values - check the Files section under Win32 and Other APIs.