May 5 2016
SAP ABAP BSP week of day function. Hafta gün takvim fonksiyonları
WEEK_GET_FIRST_DAY DATE_GET_WEEK DATE_COMPUTE_DAY DATE_COMPUTE_DAY : Returns weekday for a date DATE_GET_WEEK : Returns week for a date RP_CALC_DATE_IN_INTERVAL : Add days / months to a date END_OF_MONTH_DETERMINE_2 : Determines the End of a Month MONTH_NAMES_GET : Get the names of the month DATE_COMPUTE_DAY -This function module returns the day of the week for the date […]
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; ?>
Devamı
By Burhan KARADERE • 2015 - 2016 • 0 • Tags: ? Php ?, çözümü, takvim