@GetOSFileCreated
Syntax
@GetOSFileCreated(OSPATH1);
@GetOSFileCreated(OSPATHLIST1);
Description
Returns the creation time of one OS file (OSPATH1) or multiple OS files (OSPATHLIST1).
A TDLIST is returned. At the position where the OS path of the file appears in OSPATHLIST1, the list contains the TD value for the creation time of that OS file.
If an error occurs while determining the creation time of one or more elements, the corresponding element in the returned TDLIST is set to the value @AnyAllDay.
If TRACE mode is active (see @Trace), an error message is output on the server console and in the APILog.
Example: @GetOSFileCreated(OSPATH1)
OSPATH1:="C:\\TEST.DAT";
TDList:=@GetOSFileCreated(OSPATH1);
Returns a TDLIST with one element ([10.10.92 11.12.30]) if the file exists and its creation time was [10.10.92 11.12.30].
Example: @GetOSFileCreated(OSPATHLIST1)
OSPATHLIST1:="C:\\TEST.DAT":"C:\\TEST2.DAT";
TDList:=@GetOSFileCreated(OSPATHLIST1)
Returns (wenn the files exists and their creation on [10.10.92 11.12.30] or on [11.11.93 10.10.30] were) eine TDList with zwei elementsn ([10.10.92 11.12.30]:[11.11.93 10.10.30]).
Note : This text was machine-translated and may contain inaccuracies.
