RE: Re: strtotime

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: Tamara Temple [mailto:tamouse.lists@xxxxxxxxx]
> Sent: Sunday, October 17, 2010 2:33 PM
> To: PHP General
> Subject: Re:  Re: strtotime
> 
> 
> On Oct 17, 2010, at 2:34 PM, John Taylor-Johnston wrote:
> 
> > 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...)
> 
> 
Your forgot to divide 365.25 days per year ;)


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux