How can I compare time

I want to take a route base on what hour it is
So far this is what I have tried:

image
image

image
image


image

It doesn’t work

You’re using filter DATETIME type operator on two variables of type STRING.

You need to use the built-in function parseDate to properly set those two dates variables as DATE types.

For more information, see

Links

Here are some useful links and guides to help you get started and learn more on how to use the Make platform, apps, and app modules —

General

Help Center Basics

Articles & Videos

2 Likes

Hi @TheGreatRef
if you wish to compare hours of given 2 dates you can try the following filter directly:

If you require additional assistance, please don’t hesitate to reach out to us.
MSquare Support
Visit us here
Youtube Channel

1 Like