I am working on the application which have 15days free subscription and then it give the expiry message to the user.
I got the expiry date (yyyy-MM-dd format) in login and have to check with current date .
I have tried with the two date object 1st object have current date and 2nd have expiry date.
But i am only get true when both date are same with DateTimeUtilities.isSameDate(date1, date2); function but it only return true if both date are same.
Please anyone help me to solve my problem.
You can find your answer with the following