Leser: 2
9 Einträge, 1 Seite |
$time = timelocal($sec,$min,$hour,$mday,$mon-1,$year);
my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime($time);
my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime($time);
1
2
3
4
5
@time = localtime();
$time_string = sprintf "%02d.%02d.%04d %02d:%02d.%02d",
$time[3], $time[4]+1, $time[5]+1900,
$time[2], $time[1], $time[0];
print "$time_string\n";
9 Einträge, 1 Seite |