How to check a date is less than or greater than with other date...?

How to check a date is less than or greater than with other date…???
Date format : yy/mm/YYY (25/07/2020)

Convert the date to days and use the math operator’s greater or less than

I want to make +5 days with today’s date…
Then I want to compare the date is less or greater…
Can you plz explain how to do…

convert to instant, then convert to milliseconds. The new millisecond substract by the original millisecond. If it is negative, it is before. If it’s positive, it is after.

2 Likes

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