opget_time/3—retrieve the time stamp of an operation of an event
The opget_time/3 function retrieves the time stamp of an operation of an event. The syntax for this function is as follows:
$TIME=opget_time($EVENT,$SEQNR)
opget_time/3 arguments
Argument | Mode | Type | Description |
---|---|---|---|
$EVENT | Input | OBJECT | Specifies the event for which to retrieve an operation |
$SEQNR | Input | INTEGER | Specifies the sequence number of the desired operation |
$TIME | Output | INTEGER | Time stamp of the operation |
Use the opget_time/3 to obtain the time stamp of the operation $SEQNR that is attached to event $EVENT and return the time stamp in $TIME.
Operations are numbered, starting from 1 for the oldest operation. The most recent operation can be obtained by indicating 0 as sequence number.
opget_time/3 example
$TIME=opget_time($E,0);
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*