Re: [Linux-programlama] php kalan gunu hesaplama

---------

New Message Reply About this list Date view Thread view Subject view Author view Attachment view

From: binan (blacknightro@gmail.com)
Date: Wed 16 Aug 2006 - 13:19:23 GMT


cok tesekkur ederim

On 8/15/06, Ahmet YILDIRIM <ahmet.yil@gmail.com> wrote:
>
> tr.php.net sayfasindan bir fonksiyon
> <?php
>
> function formatetimestamp($until){
>
> $now = time();
> $difference = $until - $now;
>
> $days = floor($difference/ 86400);
> $difference = $difference - ($days* 86400);
>
> $hours = floor($difference/ 3600);
> $difference = $difference - ($hours* 3600);
>
> $minutes = floor($difference/ 60);
> $difference = $difference - ($minutes* 60);
>
> $seconds = $difference;
> $output = "You have to wait $days Days, $hours Hours, $minutes Minutes
> and $seconds Seconds until this Day." ;
>
> return $output;
>
> }
>
> fonksiyon icindeki $difference degiskeninin ne kadar gun saat dakika vs.vs.
> oldugunu hesap ediyor.
>
> Saygilar
> Ahmet YILDIRIM
>
> 14.08.2006 tarihinde Onur Yerlikaya <onurphp@gmail.com> yazmış:
>
> > kalan günü değil fakat size önerebileceğim strftime fonksiyonuna
> > gözatmanız. Böylece dediğimi daha rahat anlayabilirsiniz.
> >
> > İyi çalışmalar
> > Onur Yerlikaya
> >
> > 13.08.2006 tarihinde Husrev <wapper@gmail.com> yazmış:
> >
> > > bölme işlemi bu iş için gayet yeterli bir fonksiyon değil mi?
> > >
> > > On 8/13/06, binan < blacknightro@gmail.com> wrote:
> > >
> > > > selamlar
> > >
> > > php de kalan gunu hesaplama diye bir fonksiyon varmi ?
> > >
> > > orn: 342312345 bu degerin gun cinsinden degerini veren bir fonksiyon ?
> > >
> > > php fonksiyonlarindan aradim .. sonuc alamadim
> > >
> > > yardimci olabilir misiniz ?
> > >
> > >
> > >
> > > _______________________________________________
> > > Linux-programlama mailing list
> > > Linux-programlama@liste.linux.org.tr
> > > http://liste.linux.org.tr/mailman/listinfo/linux-programlama
> > >
> > >
> > >
> > >
> > >
> > > --
> > > Husrev
> > > wapper@gmail.com
> > >
> > > _______________________________________________
> > > Linux-programlama mailing list
> > > Linux-programlama@liste.linux.org.tr
> > > http://liste.linux.org.tr/mailman/listinfo/linux-programlama
> > >
> > >
> > >
> >
> > _______________________________________________
> > Linux-programlama mailing list
> > Linux-programlama@liste.linux.org.tr
> > http://liste.linux.org.tr/mailman/listinfo/linux-programlama
> >
> >
> >
>
> _______________________________________________
> Linux-programlama mailing list
> Linux-programlama@liste.linux.org.tr
> http://liste.linux.org.tr/mailman/listinfo/linux-programlama
>
>
>

_______________________________________________
Linux-programlama mailing list
Linux-programlama@liste.linux.org.tr
http://liste.linux.org.tr/mailman/listinfo/linux-programlama


New Message Reply About this list Date view Thread view Subject view Author view Attachment view

---------

Bu arsiv hypermail 2.1.2 tarafindan uretilmistir.