note 48503 deleted from function.date by tularis

From: Date: Sun, 30 Jan 2005 14:39:02 +0000
Subject: note 48503 deleted from function.date by tularis
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-84220@lists.php.net to get a copy of this message
Note Submitter: llcooldanny [-AT-] gmail [-DOT-] com ---- To display german month names you can use this simple function: <?php function display_german_months($n) { $months = array( 1 => 'Januar', 2 => 'Februar', 3 => 'März', 4 => 'April', 5 => 'Mai', 6 => 'Juni', 7 => 'Juli', 8 => 'August', 9 => 'September', 10 => 'Oktober', 11 => 'November', 12 => 'Dezember' ); return $months[$n]; } // example ("n" is numeric months form 1 to 12; look above) echo display_german_months(date('n')); ?>

« previous php.notes (#84220) next »