Determines which date the target file contains with a FileCopy().
FileCDaTi([<lNewMode>]) --> <lOldMode>
<lNewMode> : Designates the new status for FileCDaTi(). When .T. is designated, the target file contains the source file date; when it is .F., the system date. The default is the source file date (.T.).
If no parameter is designated, FileCDaTi() returns the current setting for FileCDaTi(); otherwise, it returns the previous setting.
FILE COPY DATE TIME
FileCDaTi() Determines whether a source file’s date and time stamp or the system’s date and time stamp, should be used to create or copy a file. Use original or system time for a file copy process.
When you partition to several disks in backup mode, this concerns all target files. Default is .T., where the target file contains the date and time of the source file. If you call FileCDaTi() with the parameter designated .F., then the target file contains the system date and time.
. Use this function before FileCopy().
. If the target file contains a unique setting such as a pseudo serialization, use the SETFDATI() function.
. Query the FileCDaTi() setting: ? FileCDaTi() // The current setting . The target file is to contain the system date and time: ? FileCDaTi(.F.) // Returns the previous setting