"Heuser" <vaxinf at chemie.uni-konstanz.de> wrote in message news:a2124dcf-3ada-4a2a-a86f-7e15f8402355 at 22g2000yqr.googlegroups.com... > $ perl x.pl > 13-0-2010 > $ sh tim > 13-JAN-2010 12:37:24 > > Is it my fault or a bug? It's your fault: localtime months are in the range 0..11 I suggest you use strftime, or similar for output.