I\'m reading the date expires cookie (2 hours) from database, and I need to check if this date has passed. What\'s the best way to do this?
For example:
<
You can just use operators
boolean hasExpired = now >= Expires;