Thread
:
quick php date help..
View Single Post
04-04-2010, 03:29 PM
Brujah
Beer Money Baron
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
Take a look at strtotime also, if you prefer. You can do a lot with it like; +1 day, -1 day, last monday, next tuesday, etc...
http://www.php.net/manual/en/function.strtotime.php
$yesterday = date('m/d/y', strtotime('-1 day'));
__________________
Free Premium Domain Lists and Tools at
Clickmojo.com
For Sale:
Obscenity.com
Brujah
View Public Profile
Visit Brujah's homepage!
Find More Posts by Brujah