note 12035 added to function.gmmktime.php
| From: | som-anti-spam at greyzone-anti-spam dot com | Date: | Tue, 20 Mar 2001 00:06:49 +0000 |
| Subject: | note 12035 added to function.gmmktime.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-12559@lists.php.net to get a copy of this message | ||
<p>I've found this function particularly useful for finding the number of seconds in a
span of time.<br>
For instance, if you need to know the number of seconds in half a year, you could use:<br>
gmmktime(0,0,0,7,1,1970);
<br>A function solely for this purpose would be nice, (where you could just do
"numseconds(0,0,0,6,0,0);") but this works, too.<br>
- Som</p>
http://www.php.net/manual/cs/function.gmmktime.php