http://stackoverflow.com/questions/712761/how-to-find-day-of-week-in-php-in-a-specific-timezone
http://php.net/manual/en/function.date.php
cara DayOfWeek php
$dayofweek = date('w', strtotime($date));
contoh:
$awal='2015-02-03';
$dayofweek1= date('w', strtotime($awal));
echo ".$dayofweek1." ;
hasilnya adalah = 2
reng harinya minggu-sabtu dimulai dari 0-6
0 Response to "mengambil nama hari di datepicer"
Post a Comment