hi!
depending on the way that you store the date in the mysql database, you may have some mysql functions that can compare that directly.
if that applies to you, you make a select query that returns the row or returns nothing, depending on that date condition... just as simple as that.
check in the mysql documentation... there are big paragraphs about dates, times, date calculations, etc.
[]