To store a derived command with the same time as an incoming command, set ms: millisecond parameter to ${timestamp}. This placeholder represents the timestamp of the command that triggered the window status event.

If Check on Exit is turned on, some status change events are caused by oldest commands being removed from the window. In such cases the timestamp field contains the time of the existing command, rounded to seconds.

To round the input time to seconds, use s: seconds parameter and floor function: