Difference Between API Timestamp and Now

Hello Everyone!

I’m a newbe in Grafana!
I have Installed the Grafana Open Source version 8.3.3.
I need track how many time has elapsed between now and timestamp geted by API, to view support performance. The API delivery a few rows like this:

    "id": 2,
    "description": "Jhon Doe",
    "whatsappNumber": "12345645646",
    "isActive": true,
    "lasts": [
        "id": 14876,
        "messageText": "How are you",
        "tipo": "sended",
        "created_at": "2021-12-18T07:52:28.262Z",
        "updated_at": "2021-12-18T07:52:28.262Z"
        "id": 14878,
        "messageText": "i'm fine, and you?",
        "tipo": "received",
        "created_at": "2021-12-18T07:52:29.331Z",
        "updated_at": "2021-12-18T07:52:29.331Z"

I have get the API infos by infinity plugin, and can show the data in table, but i don’t know how i can calc the elapsed time and show it in graph mode.
Can anyone help me?
At this time i can show a Bar Chart with informations, but, it only show the id’s, and i can’t change that information :confused:
And if the time exceds five minutes in last received, i can throw an alert?

Thanks in advance