reqGetTimeValue()

This procedure retrieves Time value for given node string.

ParameterTypeDescription
baseNode1024A VARYING, VARSIZEMandatoryThis parameter is used to pass base node. Currently following base nodes are supproted: “IptorAPI”, “method”, “params”, “messages”, “control”, “id”
node1024A VARYING, VARSIZEOptionalNode name. This parameter is optional. If the structure is more complex then nodes must be divided by colon “:”
valueType1AOptionalReturns type of value (see types of value)
existsNOptionalReturns *ON if value exists, *OFF if value does not exit

The procedure converts character value time *iso format and returns numeric 6P 0 (HHMMSS):

JSON valuereturn value
‘YYYY-MM-DDTHH:MM:SS+HH:MM’HHMMSS
‘YYYY-MM-DDTHH:MM:SS’HHMMSS
‘HH:MM:SS’HHMMSS
HHMMSSHHMMSS

Types of value:

typeDescription
NNumeric
Eerror
BLANKValue does not exist

Example:

xxTime = reqGetTimeValue('params': 'orderCreationTime');