Hi,
I need to check date of birth is greater than today or not.
For example my date of birth will be in “22/07/1993” we need to compare with today date and check whether it is greater than or less than.
Please help me with the logic or code.
I tried in this way, getting date, month in different variable and converting them to integer. DOB date<now.tostring(“dd”).tostring and DOB month<=now.tostring(“MM”).tostring.
But this will not satisfy my logic.
So I need a logic will satisfy my requirement.
Thanks