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.0
Syntax
 FUNCTION SetFDateTime(
	cFileName AS STRING,
	dDate AS DATE,
	cTime AS STRING
) AS LOGIC

Parameters

cFileName
Type: String
The name of the file 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.
See Also