All pastes #392159 Raw Edit

Unnamed

public php v1 · immutable
·published 2007-03-12 18:19 UTC
rendered paste body
<?	$Time="01:00";	$Time2=strtotime("$Time");		$midnight="00:00";	$midnight2=strtotime("$midnight");		if ($Time2 >= $midnight2)	{		echo "before midnight";	} 	else 	{				echo "past midnight";	}?>