note 9408 added to date
| From: | vanloock at gmx dot de | Date: | Wed, 01 Nov 2000 22:39:42 +0000 |
| Subject: | note 9408 added to date | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-7251@lists.php.net to get a copy of this message | ||
Hallo,
I am german.....but i would like to write the date within the day in german?
i look so:
<?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