Haz 3 2016
PHP Türkçe tarih problem çözümü
<?php function turkceTarih ($tarih,$yazdir = true) { date_default_timezone_set(‘Europe/Istanbul’); $gunler = array(‘Pazar’,’Pazartesi’,’Salı’,’Çarşamba’,’Perşembe’,’Cuma’,’Cumartesi’); $aylar = array(”,’Ocak’,’Şubat’,’Mart’,’Nisan’,’Mayıs’,’Haziran’,’Temmuz’,’Ağustos’,’Eylül’,’Ekim’,’Kasım’,’Aralık’); $tarih = strtotime($tarih); if ($yazdir) echo date(‘d’,$tarih).’ ‘.$aylar[date(‘n’,$tarih)].’ ‘.date(‘Y’,$tarih).’, ‘.$gunler[date(‘w’,$tarih)]; else return date(‘d’,$tarih).’ ‘.$aylar[date(‘n’,$tarih)].’ ‘.date(‘Y’,$tarih).’, ‘.$gunler[date(‘w’,$tarih)]; } $turkceTarih = turkceTarih(‘01.05.2016’,false); echo $turkceTarih; ?>





Haz 3 2016
Ubuntu adminitrator CPU monitoring
performance kontrol sudo top sudo VmStat 1. Top – Linux Process Monitoring Linux Top command is a performance monitoring program which is used frequently by many system administrators to monitor Linux performance and it is available under many Linux/Unix like operating systems. The top command used to dipslay all the running and active real-time […]
Devamı
By Burhan KARADERE • Genel • 0