# How do I calculate time between events?

Endpoint and detailed longitudinal data in DF12 contains approximated event date APPROX\_EVENT\_DAY, which is random (up to +/-15 day) offset added for the exact dates for each participant (see [Data masking/blurring of visit dates](/finngen-data-specifics/finnish-health-registers-and-medical-coding/data-masking-blurring-of-visit-dates.md)). In this way you can calculate exact time between events and also compare the temporal order of events between different registers for each individual participant (see [Is there really no participant birth year data in Sandbox?](/faq/about-finngen-data/is-there-really-no-participant-birth-year-data-in-sandbox.md)). In DF12 also EVENT\_AGEs contains 3-digits, in which way you can quite accurately calculate time between events.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.finngen.fi/faq/about-finngen-data/how-do-i-calculate-time-between-events.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
