Zend - The PHP Company




Code Gallery: imposter


Month Start and End Timestamps  

Type: code fragment
Added by: imposter
Entered: 26/03/2003
Last modified: 04/12/2002
Rating: - (fewer than 3 votes)
Views: 5149
This is a function which I find usefull when I need two timestamps corresponding to the First and Last days of a specified month. Especially usefull when you have dates stored in a database (as timestamps) and you need to SELECT all records BETWEEN two dates.




Search