note 9408 modified in date by ronabop
| From: | ronabop@php.net | Date: | Thu, 02 Nov 2000 06:47:18 +0000 |
| Subject: | note 9408 modified in date by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-7264@lists.php.net to get a copy of this message | ||
Hallo,
I am german.....to write the day in german:
<?PHP
// a list with the Days of a week
$TAGE=array
"Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag");
// what is the day of the week
$TAG=date("w");
// what is the date
$DATUM=date("d.m.Y");
// look what for example this short script
echo $TAGE[$TAG]." ".$DATUM;
?>
http://www.php.net/manual/function.date.php