note 33851 deleted from function.strtotime by sniper
| From: | sniper@php.net | Date: | Tue, 21 Oct 2003 11:00:32 +0000 |
| Subject: | note 33851 deleted from function.strtotime by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-58992@lists.php.net to get a copy of this message | ||
Note Submitter: ewspencer@industrex.com
----
If you need a numeric date in a specific format (e.g. 'yyyymmdd',
'yy:mm:dd',...) or some units of time interval before or after the current date (e.g. -1
week, +3 years,...), I encapsulated some task specific date processing into a PHP function named
makedate().
Very handy; just call makedate($unit,$time,$mask) and get the specific numeric date you need.
You're welcome to freely download the makedate() source code at http://www.industrex.com/opensource/makedate.phps
-- Erich