Date Validation not accepting todays date

0
Hi  I am validating the date from a  date picker using custom validation. I want to be able to choose any date from today. My expression is as follows: $value != empty and ($value > [%CurrentDateTime%] or $value = [%CurrentDateTime%]) $value is the date selected using date picker. But this expression throws an error when I choose today‚Äôs date. Can someone tell me why?     Thank you!  
asked
2 answers
1

try [%BeginOfCurrentDay%] instead of [%CurrentDateTime%] 

as Custom date picker set Time as 00:00:00:00 Hrs.

answered
0

Hi Sherlin,

                  Can you please check and add the screenshot what’s the error you are getting in console while selecting the date?

Try adding [%BeginOfCurrentDay%] or [%BeginOfCurrentDayUTC%]and check. Thanks

answered