GetDateTime method: OptEngine class
Syntax
GetDateTime(PARAM_NAME)
Description
This method gets the value of a transaction output parameter with a data type of DateTime. This cannot be used with the RunAsynch method; RunSynch is needed to make the transaction output parameter values immediately available.
The DetailedStatus OptEngine property indicates the completion status of the OptEngine method call GetDateTime. For GetDateTime, DetailedStatus can have the value:
-
%OptEng_Success.
-
%OptEng_Fail.
-
%OptEng_Method_Disabled: indicates that the method is disabled or not valid.
Parameters
| Parameter | Description |
|---|---|
|
PARAM_NAME |
Enter a string for the name of the output parameter to get from the transaction that was just performed with RunSynch. This parameter must be defined as an output or both (input and output) in the analytic type definition. See Optimization Framework: Configuring Analytic Type Transactions. |
Returns
Returns a DateTime object; use this method when that is the data type of the transaction output parameter value.
Example