How do I find the timestamp for a particular date?
Anyhow, here's how to do what you want to do, and it involves using the mktime function:
int mktime(hour,minute,second,month,day,year);
More other PHP Questions
How do I find out about my PHP installation?How do I check if a date entered exists?
How do I define a constant in PHP?
Can I include Javascript in my PHP code?
I have lots of if else logic - is there another option?