PHP : date

<?php
date_default_timezone_set("Asia/Jakarta");
echo "Server time : ".date('l, d M Y').", ".date('H:i:s');
?>

Contoh output :

Server time : Wednesday, 06 Jan 2016, 15:22:54

Share Button

Diterbitkan oleh

Rinaldo Jonathan

Admin of this site. Artis papan PCB. #zoneRinaldo #Controllerism Studio Demon, Stage Angel, Sleepy Developer, Smoke free. Kalkud SHS 2012, PCR G15.

Tinggalkan Balasan