PHP Questions Home

Categories

Arrays
Files
Forms
Functions
Images
MySQL
Numbers
Others
Strings
Website


PHP Functions

PHP Functions


More PHP

Top Questions
Ask a Question

How do I find the timestamp for a particular date?


You mean you can't work this out in your head? Standards are slipping... back in the day before calculators...

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?