HI,
I need to check that the current date is between 2 dates in a last (start date and To date)
I have tried the usual if greater than or equal and less than or equal but nothing works the query always returns no results
Anyone know how to do this?
HI,
I need to check that the current date is between 2 dates in a last (start date and To date)
I have tried the usual if greater than or equal and less than or equal but nothing works the query always returns no results
Anyone know how to do this?
Hi
Hi
Here is an example of comparison. Instead of using dates from the SP List, I will just create variables and set the date values in this example. You should use Dates from the SP columns - however pls verify that DateTime1 <= DateTime2 otherwise the expression will always return False or No
Final Code.
Yes both list columns are DateTime
Hi
That works too. Your query expression is correct.
I suspect that perhaps the FromDate is greater than the ToDate
or the dtCurrent date is outside of the FromDate < ToDate range.
Use control values for the Dates. FromDate is 1 Jan 2023, ToDate is 31 Dec 2023.
Use the Conditional Branch. Place a Log to History at both outcome Yes and No.
Use another Log to History to display the values of all 3 dates
Hi
Thanks for your help all is working as expected.
Cheers
Hey
Glad to help
Cheers
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.