Senin , 31 Maret 2025

Format Tanggal dalam PHP

Berikut ini format tanggal dalam PHP :

$tempDate = '2016-06-09';
$day = date('l', strtotime( $tempDate));// will gives you the week day name 
$month = date('jS F Y',strtotime($tempDate));// will format like date 9th June 2016
$newdate= date('l jS \of F Y h:i:s A',strtotime($tempDate));// Prints the day, date, month, year, time, AM or PM
no image
Item Reviewed: Format Tanggal dalam PHP 9 out of 10 based on 10 ratings. 9 user reviews.
:)
:(
=(
^_^
:D
=D
@@,
;)
:-bd
:-d
(y)
:o
:thumbup
:2thumbup
:iloveindonesia
:ilovekaskus
:kiss
:genit
:marah
:berduka
:D
:najis
:malu
:ngakak
:repost
:sup2
:batabig
:takut
:ngacir
:shakehand
:bingung
:waduh
:cekpm
:capedeh
:hammer
:peluk
:cendol
:hoax
:selamat
:matabelo
:mewek
:request
:sorry
:salahkamar
:rate5
:cool
:sup:
:kbgt
:nohope
Emoticon? nyengir

Berkomentarlah dengan Bahasa yang Relevan dan Sopan.. #okemasbro! ^_^

Komentar Terbaru

Just load it!