Re: Re: strtotime
| From: | Tamara Temple | Date: | Mon, 18 Oct 2010 06:08:35 +0000 |
| Subject: | Re: Re: strtotime | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-308782@lists.php.net to get a copy of this message | ||
On Oct 17, 2010, at 9:57 PM, Tommy Pham wrote:
-----Original Message----- From: Tamara Temple [mailto:tamouse.lists@gmail.com] On Oct 17, 2010, at 2:34 PM, John Taylor-Johnston wrote:Your forgot to divide 365.25 days per year ;) well, no i didn't forget, merely pointing out that it equals days in a year.Here is another nifty piece of code I found. How does this work? What is 31556926?Number of second in a year? (31556926 / (24 * 60 * 60) yields 365.2421...)