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:
<
Periodically check the date and see if now.CompareTo(expires) > 0
now.CompareTo(expires) > 0