Current time(X) lies between two times(Y) and (Z)? - Mendix Forum

Current time(X) lies between two times(Y) and (Z)?

0

Hi Experts,

I want to check if the current time lies between the two times.

Example: Current time(01:00:00) lies between two times (10:00:00) , (18:00:00)?

Can any one please tell me that how to achieve this?

 

Thanks in Advance!

asked
2 answers
1

Try this expression:

 

 ([%CurrentDateTime%] > $startDatetime) 
and
 ([%CurrentDateTime%] < $endDatetime) 

 

answered
0

i think you can use format date time function and format is and check that will help

 

answered