+ 2
How to compare date entered by user and today's date in android studio?
I only need to compare date and no need of time.
1 ответ
0
The Date class features 2 methods you can work with.
myDate.After(todaysDate) returns true if myDate is after todaysDate.
myDate.Before(todaysDate) works the same way but in the opposite direction