hr_time
short_hr_time
long_hr_time
+ very_short_hr_time
month
get_all_threads
sprintf ('%s, %02d. %s %04d, %02d:%02d:%02d Uhr', $wday[$wday], $day, $month[$mon], $year+1900, $hour, $min, $sek);
}
+sub very_short_hr_time($) {
+ my (undef, $min, $hour, $day, $mon, $year) = localtime ($_[0]);
+
+ sprintf ('%02d. %02d. %04d', $day, $mon+1, $year+1900);
+}
+
sub month($) {
my @month = (qw(Januar Februar), "M\303\244rz", qw(April Mai Juni Juli August September Oktober November Dezember));
# ^^^^^^^^ - UTF8 #
- return $month[$_[0]];
+ return $month[$_[0]-1];
}
# ====================================================