03-25-2004, 09:52 PM
|
|
Join Date: Nov 2002
Posts: 2,174
|
Quote:
Originally posted by PMdave
Somewhere in your body
PHP Code:
<hahahahahahahaha
/*
Live Date Script-
? Dynamic Drive ([url]www.dynamicdrive.com[/url])
For full source code, installation instructions, 100's more DHTML scripts, and Terms Of Use,
visit [url]http://www.dynamicdrive.com[/url]
*/
var dayarray=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday")
var montharray=new Array("January","February","March","April","May","June","July","August","September","October","November","December")
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="AM"
if (hours>=12)
dn="PM"
if (hours>12){
hours=hours-12
}
if (hourshahahaha0)
hours=12
if (minutes<=9)
minutes="0"+minutes
if (seconds<=9)
seconds="0"+seconds
//change font size here
var cdate="<small><font color='000000' face='Arial'><b>"+dayarray[day]+", "+montharray[month]+" "+daym+", "+year+" </b></font></small>"
if (hahahahahahahahahahaall)
hahahahahahahahahahaall.clock.innerHTML=cdate
else if (hahahahahahahahahahagetElementById)
hahahahahahahahahahagetElementById("clock").innerHTML=cdate
else
hahahahahahahahahahawrite(cdate)
}
if (!hahahahahahahahahahaall&&!hahahahahahahahahahagetElementById)
getthedate()
function goforit(){
if (hahahahahahahahahahaall||hahahahahahahahahahagetElementById)
setInterval("getthedate()",1000)
}
</hahahahahahahaha
[/PHP]
|
HAHAHAHAHAHA 
__________________
|
|
|