Different behaviour of logic during the day

I would like to configure logic that behaves differently during the course of a day. I'm working on a planning system, and the business rules for planning are different after 15:00, is there a way to see whether it's past three o'clock?
1 answers

you can use an microflow expression to retrieve the current hour of the day.

If you use the format date expression you can get the current hour, which can be parsed as an integer and than you can see if that integer is larger or equal than 15. See the example below...

parseInteger(formatDateTime( [%CurrentDateTime%], 'HH') ) >= 15