<?phpclass DisplayDate{public static function showCopyrightDate($inputyear){date_default_timezone_set("America/Los_Angeles");$baseyear = $inputyear;$currentyear = date("Y");return ($baseyear < $currentyear)? $baseyear . ' - ' . $currentyear : $baseyear;}}?>
0 comments:
Post a Comment