NYCPHP Meetup

NYPHP.org

[nycphp-talk] mktime()

Craig Thomas craig at juxtadigital.com
Tue Jan 10 11:07:15 EST 2006


Hi all,

Am I nuts or does this look odd:

<?php

for($i=1971;$i<=2099;$i++){

	print $i. ": ";

	if(mktime(0,0,0,0,0,$i) > mktime()){
		print mktime(0,0,0,0,0,$i). " >" .mktime() ;
	}
	else{
		print mktime(0,0,0,0,0,$i). " <" .mktime() ;
	}
	print "<br />";
	
}

?>

-- 
Craig



More information about the talk mailing list