Click or drag to resize

SetFDateTime Function

X#
Reset the date and time stamps of a File.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.19
Syntax
 FUNCTION SetFDateTime(
	cFile AS STRING,
	dDate AS DATE,
	cTime AS STRING
) AS LOGIC
Request Example 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: Logic
TRUE if successful; otherwise FALSE.
Remarks