Date or Length Hours Since User's Last Session

Hello! I’m searching for a way for a flow to determine the length of hours since the users last session.

For instance if 24 hours since last session then… else…

Or, if day is not equal to last sessions date then… else…

Is there a way for flow to determine this?

Thanks so much!
Chris

use {timestamp}, which is a built-in variable and means UNIXTIME.

save {timestamp} to a project variable in the session, and in the next session, compare it with {timestamp} in the current session using code block.