Re: note 34261 deleted from function.getdate by ali

From: Date: Sat, 06 Sep 2003 15:40:28 +0000
Subject: Re: note 34261 deleted from function.getdate by ali
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-55544@lists.php.net to get a copy of this message
On Sat, 2003-09-06 at 17:31, ali@php.net wrote: > Note Submitter: mikeNO@SPAMdthought.net > > ---- > > Although it does not appear to be documented, getdate also returns the first numerical index > item as the timestamp that was used to make the date. > > $mytime = getdate(); > print $mytime[0]; > > displays the timestamp of the current date. Very useful for using in other timestamp based > calculations. > This has been added to the docs by pollita (http://cvs.php.net/diff.php/phpdoc/en/reference/datetime/functions/getdate.xml?login=2&r1=1.6&r2=1.7&ty=h for more information.) -ali > -- > PHP Notes Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.notes (#55544) next »