Fondix

Syntax waktu on php 5

Mei 10, 2008 · Tinggalkan sebuah Komentar

<?php

$local = 7;
$jam = gmdate(’H:i:s A’, gmdate(’U') + ($local * 3600));

echo $jam;

?>

Kategori: PHP

0 responses so far ↓

  • There are no comments yet...Kick things off by filling out the form below.

Tinggalkan sebuah Komentar