# timestamp

The keyword is only used in port operations to store the current test system time at operation completion. Timestamps can only be stored if the port the operation is performed on has the realtime option set.

This keyword requires the compiler option '-I' to be set, otherwise it is treated as an identifier.

Related keyword:

- realtime
- receive
- trigger
- getcall
- getreply
- catch
- check
- send
- call
- reply
- raise

### timestamp variable_reference

Example:

var float v_sendTime;
myPort.send(myMessage) -> timestamp v_sendTime;
The timestamp of the send operation was stored in variable v_sendTime.