I'm not sure about how to write it correctly, but this is the inline notation I used, it seems to be correct from checking, but it always says it's greater.
{f:if(condition: '{timestamp} > {f:format.date(date:{timestampsinloop}, format:"U")}', then: 'Too late')}