Click or drag to resize

SetFDateTime Function

Reset the date and time stamps of a File.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.07
Syntax
 FUNCTION SetFDateTime(
	cFile AS STRING,
	dDate AS DATE,
	cTime AS STRING
) AS LOGIC
View Source

Parameters

cFile
Type: String
The name of the file (optionally including drive and directory information) to modify.
dDate
Type: Date
The new date to use for the date stamp.  If not specified, the default is Today().
cTime
Type: String
The new time string to use for the time stamp.  If not specified, the default is Time().

Return Value

Type: Boolean
TRUE if successful; otherwise FALSE.
Remarks