Selected date - passed or not?

Friends, please tell me - is it possible to somehow implement the check: The selected date - passed or not

Those. the person in the date module selects a number, and if this number has already passed, we display a notification.
But I can’t figure out how to implement this check :frowning:

Thanks!

1 Like

Hello @lavrynenko
One way is to construct the date as YYYYMMDD and also construct todays date the same and compare them together.

check this post, I am explaining it in much detail

3 Likes

You are just a guardian angel.
Thanks!!!

2 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.