Thread Perl-Anfänge: Umrechnungen (9 answers)
Opened by Gast at 2003-11-05 11:10

esskar
 2003-11-05 12:11
#69217 #69217
User since
2003-08-04
7321 Artikel
ModeratorIn

user image
Code: (dl )
1
2
3
4
5
6
7
8
#!/usr/bin/perl -w

use strict;
use warnings;

my $wann = time;
my ($sek,$min,$hour,$mday) = localtime $wann;
printf("%02i:%02i:%02i:%02i\n", $mday, $hour, $min, $sek);


05:11:13:13


musst eben schauen, wie du $wann setzt;

View full thread Perl-Anfänge: Umrechnungen