Calculating & Alerting on Timestamp Difference

Hello!

I am trying to create an alert based on a timestamp difference

I have two different values coming into Grafana from Zabbix, last login time, and last login time with Windows Hello. What I want to do it calculate the time difference between last long and last hello login, then send an alert if the difference is greater than say 30 minutes