PitchKit
API Reference@pitchkit/data-providersimpectFunctions

matchSeconds()

function matchSeconds(event): number;

Defined in: packages/data-providers/src/impect/select.ts:79

Seconds on the match clock: the second half starts at 45:00, as a broadcast shows it.

Impect's gameTimeInSec restarts each period at 10,000-second steps, so gameTimeInSec / 60 gives a minute of 166 early in the second half. As on any match clock, first-half stoppage time overlaps the start of the second half; sort with inMatchOrder, not on this.

Impect define four periods (two halves, two of extra time). An event in any other period, which the open data doesn't have, gets its gameTimeInSec back unchanged, as Wyscout's matchSeconds does for an unknown period.

Parameters

ParameterType
eventImpectEvent

Returns

number

On this page