SetFDateTime Function | |
Reset the date and time stamps of a File.
Namespace:
XSharp.RT
Assembly:
XSharp.RT (in XSharp.RT.dll) Version: 2.21
Syntax FUNCTION SetFDateTime(
cFile AS STRING,
dDate AS DATE,
cTime AS STRING
) AS LOGIC
public static bool SetFDateTime(
string cFile,
Date dDate,
string cTime
)
Request Example
View SourceParameters
- 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 Examples See Also