Subject: Re: [LINUX:7893] Re: linux'ta 2000 sorunu ???
From: Tanju Aktug (aktugt@med.deu.edu.tr)
Date: Tue 27 Jul 1999 - 13:20:35 EET DST
Cok te$ekkur ederim...
Ancak kullandiginiz scriptlerde yilin nasil cevrildigini kontrol etmeye
ba$layin...
A$agida web adresini yanli$ vermi$ olabilecegim bir PERL belgesindeki
kullanim orneginde oldugu gibi, baktigim wwwboard, vb. yaygin kullanilan
scriptlerde de a$agidaki gibi uygulama var. 2000 yilinda tarih 1900
degilse bile 19100 cikacak demektir...
Bilgi icin te$ekkur, 2000 yili sorunu uyarisi icin devam.
PERL SCRIPTLERINIZI KONTROL EDIN....
Artemis.efes.net'teki PERL Belgesinden :
********************************************
localtime
Syntax
Category named unary operator (time)
Arguments expression
Arguments none
Return Value list
Definition
Given a time as an argument (measured in seconds since 1 Jan. 1970),
this function returns a list of nine elements with that
time broken down into seconds, minutes, hours, day of month, month,
year, day of week, day of year, daylight saving
enabled (daylight saving enabled is either 1 for on or 0 for off). If no
argument is used, the current time is reported. If the
system supports POSIX time zones, the time returned is localized for the
current time zone.
In a scalar context, the ctime() style output is returned (a string
describing the time in readable form).
Example
($sec,$min,$hour,$mday,$mon,$year,$wday,$ydat,$isdst) =
localtime();
print "localtime() 19$year-$mon-$mday\n";
*************************************************************
Sayin Cenk Hasirlioglu wrote:
> Cenk Hasirlioglu ... 'dokumantasyon okumak faydalidir.'
tekrar te$ekkurler, dediginiz gibi birden cok yerden okumak gerekiyor...
Tanju Aktug
Listeden cikmak icin:
unsub linux
mesajini listeci@bilkent.edu.tr'a gonderiniz.
Lutfen Listeci icin MIME / HTML / Turkce Aksan kullanmayin.
Liste arsivinin adresi: http://listweb.bilkent.edu.tr/