while ($unix_today_minus_x > $history_in_unixtime) { hier kommt später code hin  $history_tradedate = strftime ("%d-%m-%Y",localtime($history_in_unixtime));  print "history datum: ".$history_tradedate."\n";  ($day,$month,$year,) = split(/-/,$history_tradedate);  print "day: ".$day."\n";  # Creates the timestamp(often have to write -1 because many date functions  # start with 0 for fist month, day etc.)  $history_in_unixtime = timelocal("00","00","00",$day+1,$month-1,$year);  $history_tradedate = strftime ("%d-%m-%Y",localtime($history_in_unixtime));   print "history datum: ".$history_tradedate."\n"; } #