Laman Utama Tanya Wiki English Artikel Komuniti E-Mel Ringtones Search

Bantuan | Carian | Ahli | Kalendar

Google

Selamat Datang ( Log In | Daftar )

 
Reply to this topicStart new topic
Jam Dalam Mashi, camaner yerk nak wat jam mashi dalam web php
arol86
post Apr 21 2008, 12:15 PM
Kiriman #1


Ahli
*

Grup: Members
Kiriman: 49
Penyertaan: 15-April 08
Dari: malaysia
Ahli ke- 46,093



asalamualaikum pakar java tolog aku aku memerlukan korang tok wat jam dalam mashi jam yang lain aku dapat ker try ubahkan script niej adi mashi..

<script>
var dayarray=new Array("Ahad","Isnin","Selasa","Rabu","Khamis","Jumaat","Sabtu")
var montharray=new Array("Januari","Februari","Mac","April","Mei","Jun","Julai","Ogos","September","Oktober","November","Desember")

function getthedate(){
var mydate=new Date()
var year=mydate.getYear()
if (year < 1000)
year+=1900
var day=mydate.getDay()
var month=mydate.getMonth()
var daym=mydate.getDate()
if (daym<10)
daym="0"+daym
var hours=mydate.getHours()
var minutes=mydate.getMinutes()
var seconds=mydate.getSeconds()
var dn="Pagi"
if (hours>=12)
dn="Petang"
if (hours>12){
hours=hours-12
}
if (hours==0)
hours=12
if (minutes<=9)
minutes="0"+minutes
if (seconds<=9)
seconds="0"+seconds
//change font size here
var cdate="<medium><font color='000000' face='Digiface, Arial'><b>"+dayarray[day]+", "+montharray[month]+" "+daym+", "+year+" "+hours+":"+minutes+":"+seconds+" "+dn
+"</b></font></medium>"
if (document.all)
document.all.clock.innerHTML=cdate
else if (document.getElementById)
document.getElementById("clock").innerHTML=cdate
else
document.write(cdate)
}
if (!document.all&&!document.getElementById)
getthedate()
function goforit(){
if (document.all||document.getElementById)
setInterval("getthedate()",1000)
}

</script>
Go to the top of the page
 
+Quote Post
spirit
post Apr 21 2008, 04:42 PM
Kiriman #2


Ahli Rajin
****

Grup: Members
Kiriman: 554
Penyertaan: 12-March 05
Ahli ke- 6,834



java ke ni...uhuuhu


--------------------
Once a new technology starts rolling, if you're not part of the steamroller, you're part of the road.

- Stewart Brand -
Go to the top of the page
 
+Quote Post
arol86
post Apr 21 2008, 04:49 PM
Kiriman #3


Ahli
*

Grup: Members
Kiriman: 49
Penyertaan: 15-April 08
Dari: malaysia
Ahli ke- 46,093



dah tentu lar java ader cara tak??
Go to the top of the page
 
+Quote Post
arol86
post Apr 21 2008, 05:24 PM
Kiriman #4


Ahli
*

Grup: Members
Kiriman: 49
Penyertaan: 15-April 08
Dari: malaysia
Ahli ke- 46,093



tlg la sumer aku terasa gelap masa depan aku nie letih aku cari tak jumper gak....
Go to the top of the page
 
+Quote Post
unexistance
post Apr 21 2008, 08:50 PM
Kiriman #5


Ahli Rajin
*****

Grup: Members
Kiriman: 1,097
Penyertaan: 29-March 06
Dari: 46350
Ahli ke- 15,794



tu javascript (masuk dalam subtopik Pembangunan Web), sama sekali lain dari java ...
Sekian terima kasih


--------------------
mint4(ubuntu7(debian(GNU/Linux2.6))) + XP-SP2@compaq_presario_v3010au
vista-home-basic + fc9(GNU/Linux2.6)@dell_inspiron_530s
Go to the top of the page
 
+Quote Post
arol86
post Apr 22 2008, 09:59 AM
Kiriman #6


Ahli
*

Grup: Members
Kiriman: 49
Penyertaan: 15-April 08
Dari: malaysia
Ahli ke- 46,093



owh yerk ker maap salah ruang terima kasih
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

 

RSS Lo-Fi Version Time is now: 8th October 2008 - 07:04 AM

© 1998-2008 Khazanah Maya Computer Systems