open my $date, '>', "$dateizeit.txt" or die "Can't open file '$dateizeit.txt' for writing: $!";