Add a lifetime to a post

Hello,

I’m building an app where i need to display posts with a lifetime < to 23h, i need to manipulate date but i didn’t find the solution.

I tried to do this : created date < current date change hours to 23 change minutes to 0
But it’s not working, i’m sure i do a misktake !

Thanks

This could be done in a few ways, but I’m not sure which plan you are on. If it were me, I would create a scheduled backend workflow to run every X number of minutes.

Tell it to display/delete posts when current time > (post created date/time)+23 hours.

Hey Josh, i need to start with “created post”

So Created post < current time ???