Langsung ke coding aja deh :
<?php $date="2015-07-06"; $namahari = date('l', strtotime($date)); echo $namahari; ?>
Hasilnya : Monday
Oke Semoga Bermanfaat....
Fb : andikawidiyantobae, Tw : @andika_to, Ins: @ak_andika
<?php $date="2015-07-06"; $namahari = date('l', strtotime($date)); echo $namahari; ?>
0 komentar:
Post a Comment