Xbasic

FILE.UPDATE_TIME Function

Syntax

Updated as T = FILE.update_time(C filename )

Arguments

filenameCharacter

The full path specification of the file.

Returns

UpdatedTime

Returns the date/time the file was last updated.

Description

Returns the date/time at which a file was last updated

Discussion

The FILE.UPDATE_TIME() method returns the date/time that filename was last updated. Use the TIME() function to parse out date and time elements from Updated.

Example 

Note the difference between read and update times.

? FILE.read_time("C:\plist.txt")
= 12/02/2004 11:00:40 84 am
? FILE.update_time("C:\plist.txt")
= 11/30/2004 04:47:07 54 pm

See Also