Thread Header-Datum-Formatierung
(15 answers)
Opened by marky at 2008-06-02 03:29
Wie wäre damit:
Code (perl): (dl
)
1 2 3 4 5 my $hdate=gmtime(); $hdate.=substr($hdate,10,9,''); substr($hdate,8,1,'0') if(substr($hdate,8,1) eq ' '); substr($hdate,3,1,','.substr($hdate,7,3,'').' '); return $hdate; Edit: Es fehlte noch ein Umformatierung. |