Thread Aktuelles Datum in Variable (17 answers)
Opened by Fairy at 2012-05-07 10:27

FIFO
 2012-05-08 15:44
#158200 #158200
User since
2005-06-01
469 Artikel
BenutzerIn

user image
Guest Fairy
Der gesammt Code schaut wie folgt der zeit aus:

Code: (dl )
1
2
3
#use POSIX qw/ strftime /;
#my $d = strftime("%Y-%m-%dT%H:%M:%S", localtime);
#my $filename = "Backup-$d";


Jemand noch eine Idee?


Bist Du sicher, dass die Zeilen auskommentiert sein sollen? use strict; ist immer eine Erwägung wert ...

Editiert von FIFO: topeg you win :)
Everyone knows that debugging is twice as hard as writing a program in the first place. So if you're as clever as you can be when you write it, how will you ever debug it? -- Brian Kernighan: "The Elements of Programming Style"

View full thread Aktuelles Datum in Variable