Develop > Programming > System Language reference > List: rtecalls > rtecall("filldate") function

rtecall("filldate") function

A RAD function that places the current date and time in a field in the current record.

Function

rtecall("filldate")

Format

$L.success.flg= rtecall($L.fnc.name, $L.return.code, $L.file, $L.field.name)

Parameters

The following parameters are valid for the rtecall("filldate") function:

Parameter Data type Description
$L.success.flg Logical Indicates if the function was successful.
$L.fnc.name String The name of the sub-function to call, in this case "filldate".
$L.return.code Number Provides a more detailed return code.
$L.file File The file handle.
$L.field String The name of the field to be updated.

Factors

If the $L.success.flg is false, the function failed. If it is true, the function succeeded.

Example

$L.file={[, , {}, , , {}, , , {}, , , {}, , , {}, {}, {}, {{[, , , ]}}, , , ]} where the first field is
named "date"
$L.field.name="date"
$L.success.flg= rtecall("filldate", $L.return.code, $L.file, $L.field.name)
$L.file returns ={[‘04/14/2000 08:27:19’, , {}, , , {}, , , {}, , , {}, , , {}, {}, {}, {{[, , , ]}}, , ,
]}