Re: detecting leap years?

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

 



> On Jan 19, 2018, at 5:36 PM, Aziz Saleh <azizsaleh@xxxxxxxxx> wrote:
> 
> function is_leap_year($year) {
> 
> 	
> return ((($year % 4) == 0) && ((($year % 100) != 0) || (($year % 400) == 0)));
> }

Thank you;
Jeff k


-- 
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