note 19868 rejected from function.getdate by torben

From: Date: Wed, 13 Mar 2002 20:01:36 +0000
Subject: note 19868 rejected from function.getdate by torben
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-27752@lists.php.net to get a copy of this message
I want to see if the timestamp reflects "yesterday". How can I use the date() function (or something else with Unix timestamp) to do this without messing up on the first day of the month, year, etc.?

« previous php.notes (#27752) next »