note 14241 added to function.bcmod.php

From: Date: Mon, 23 Jul 2001 19:18:10 +0000
Subject: note 14241 added to function.bcmod.php
Groups: php.notes 
Request: Send a blank email to php-notes+get-15721@lists.php.net to get a copy of this message
you can use this function for verify if a year is a leap year: if (bcmod(2001,4)>0) { PRINT "THIS IS A 365 DAYS YEAR"; } else { PRINT "THIS IS A 366 DAYS YEAR"; } http://www.php.net/manual/en/function.bcmod.php

« previous php.notes (#15721) next »