[imp] Change time format to AM/PM or 24hours

Jan Schneider janmailing@gmx.de
Tue, 28 Aug 2001 12:10:08 +0200


Zitat von Santiago Romero <sromero@servicom2000.com>:

> >  Another related question... is there any function to format the
> >  message date displayed on message.php3 (on the Date: field when you
> >  read a message) so that it translates the date to spanish?
> > 
> >  (Mon, 23 Jun 2001) -> Lun, 23 Jun 2001
> 
>  I think I'll need to write this by myself (no problem)...

Use setlocale(LC_TIME, 'es_ES') before strftime()

>  anyway, Do my messages reach the list? Do you all read me? :?

Of course, why not? ;-)

Jan.