Comparing two dates for restrictions on post edit

How do I limit user to edit posts after for example 5 minutes of initial post creation date? Tried some options but can’t figure this out.

I’m looking for something in the trend of When current post creation date > 15 minutes > Edit button not visible

Convert post creation date to Unix timestamp (milliseconds) and compare to target in milliseconds. In the example below 15 minutes is 900,000ms.

When current post creation date:extract Unix > 900,000 then Edit Button not visible

What about this? For a 2 minutes time window. I used a button because it was the first element at hand, but you just save the creation date to a state in whatever element then do the expression.

Screenshot_20190516_221723

Hmm, not sure how to solve this. I’ll be back in a bit and try again.