Re: German date in date_format

From: Date: Mon, 16 Jul 2001 14:48:19 +0000
Subject: Re: German date in date_format
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-1167@lists.php.net to get a copy of this message
On Mon, 16 Jul 2001 16:32:26 +0200, Andreas Heck <aheck@fleischmann.org> wrote: >I use smarty's built in date_format function to show the name of the >month and weekday. >But all names are English. Is there a way to show the month and weekday >names in German >while still using date_format? I don't want to handle the date formating >in my script. AFAIK, you have to set the system language with setlocale. setlocale(LC_ALL,"de_DE"); See www.php.net/setlocale for more Information Tschau Adi

« previous php.smarty.general (#1167) next »