note 33752 added to function.date

From: Date: Sun, 06 Jul 2003 20:29:28 +0000
Subject: note 33752 added to function.date
Groups: php.notes 
Request: Send a blank email to php-notes+get-51593@lists.php.net to get a copy of this message
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 ---- Manual Page -- http://www.php.net/manual/en/function.date.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+33752 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+33752&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+33752&report=yes

« previous php.notes (#51593) next »