Quote:
|
Originally Posted by NeverMind
you can use this old way:
but here comes a problem which is the time between US and the time you want isn't 7 hours !!
I know there is a gmt time function, but I am not fimilar with it..
so you could just find the time between USA and your country and replace number seven in $time with it ..
or wait for another person to help you in gmttime 
|
ok thanks,
different time USA and Indonesia = 15 hours.
but i want display day, date month year in indonesian type.
example script:
<?
$usa = time();
$id = $usa + 15 *3600;
print "USA Time : " .date("l d/M/Y h:i:s A",$usa)."<br>";
print "Indonesian Time : " .date("l d/M/Y h:i:s A",$id)."<br>";
?>
OUTPUT :
USA Time : Monday 09/February/2004 07:47:55 PM
Indonesian Time : Tuesday 10/February/2004 10:47:55 AM
(should be Indonesian Time : Selasa 10/Februari/2004 10:47:55 AM)
day(english=>indonesian)
===================
Sunday=>Minggu
Monday=>Senin
Tuesday=>Selasa
Wednesday=>Rabu
Thursday=>Kamis
Friday=>Jumat
Saturday=>Sabtu
month(english=>indonesian)
======================
January=>Januari
February=>Februari
March=>Maret
April=>April
May=>Mei
June=>Juni
July=>Juli
August=>Agustus
September=>September
October=>Oktober
November=>Nopember
December =>Desember
help me..