Thread Deutsche Sommer u. Winterzeit in UTC umrechnen (39 answers)
Opened by Speedriff at 2013-11-27 14:51

GwenDragon
 2013-11-28 17:47
#172285 #172285
User since
2005-01-17
14761 Artikel
Admin1
[Homepage]
user image
das ist andere Schreibform mit if.
Code (perl): (dl )
1
2
$temp =~ s/^(\d\d)\.(\d\d)\.(\d\d\d\d)\s(\d\d):(\d\d)/conv_dt($1,$2,$3,$4,$5)/egm
  if $temp =~ m/^(\d\d)\.(\d\d)\.(\d\d\d\d)\s(\d\d):(\d\d)/;

=
Code (perl): (dl )
$temp =~ s/^(\d\d)\.(\d\d)\.(\d\d\d\d)\s(\d\d):(\d\d)/conv_dt($1,$2,$3,$4,$5)/egm if $temp =~ m/^(\d\d)\.(\d\d)\.(\d\d\d\d)\s(\d\d):(\d\d)/;

=
Code (perl): (dl )
if ($temp =~ m/^(\d\d)\.(\d\d)\.(\d\d\d\d)\s(\d\d):(\d\d)/) { $temp =~ s/^(\d\d)\.(\d\d)\.(\d\d\d\d)\s(\d\d):(\d\d)/conv_dt($1,$2,$3,$4,$5)/egm }


Ich finde so einen langen Wurm schlecht zu lesen und in der nächsten Zeile eingerückt gehts auch.
Last edited: 2013-11-28 17:49:27 +0100 (CET)

View full thread Deutsche Sommer u. Winterzeit in UTC umrechnen