Perl /
DateTimeLocaltimePerl.DateTimeLocaltime HistoryHide minor edits - Show changes to markup December 31, 2005, at 04:53 AM
by
Changed lines 8-9 from:
print date(); to:
print date(), "\n"; December 31, 2005, at 04:52 AM
by
Changed lines 8-12 from:
my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst)=localtime(time); printf "%4d-%02d-%02d %02d:%02d:%02d\n", $year+1900,$mon+1,$mday,$hour,$min,$sec; to:
print date(); sub date { my ($sec,$min,$hour,$mday,$mon,$year,$wday, $yday,$isdst)=localtime(time); $mon++; $year += 1900; my $tarih = "$year.$mon.$mday" . "_" . "$hour.$min.$sec"; return $tarih; } December 31, 2005, at 04:47 AM
by
Added lines 1-13:
G�n�n tarihinin bi�imli yazdırılması:
|