Go to the Java API and read about the Date and Calendar classes.
Type: Posts; User: Junky
Go to the Java API and read about the Date and Calendar classes.
Are the dates stored in the database as Dates or Strings? Either way you can use the Date class and the Calendar class to compare dates.