Hmm. Let's see, a problem about dates: what is a timestamp for the date six days from today?
RTFM....
Date and Time Functions....
[man]strtotime[/man] - Parse just about any English textual datetime description into a UNIX timestamp.
That wasn't so hard. I should have been able to do that myself.