Take a guess

Can you guess what this little code calculate’s:


$B = $A % 19 + 1;

$C = (11 * $B + 20 + (floor((8 * (floor($A / 100) + 1) + 5) / 25 - 5)) - (floor((floor($A / 100) + 1) * 3 / 4) - 12)) % 30;

if (($C >= 24) AND ($C <= 25) AND ($B > 11)) $C++;

$D = 44 - $C; if ($D $lt; 21) $D += 30;

$E = $D + 7 - (($D + (floor($A * 5 / 4) - (floor((floor($A / 100) + 1) * 3 / 4) - 12) - 10)) % 7);

$A is a number between 101 and something high…

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>