Tarikh Semasa


Copy skrip atau download.
<!-- ONE STEP TO INSTALL CURRENT DATE: 

   1.  Put the code into the BODY of your HTML document  --> 

<!-- STEP ONE: Copy this code into the BODY of your HTML document  --> 
 
<BODY> 

<SCRIPT LANGUAGE="JavaScript"> 

<!-- This script and many more are available free online at --> 
<!-- The JavaScript Source!! http://javascript.internet.com --> 

<!-- Begin 
var months=new Array(13); 
months[1]="January"; 
months[2]="February"; 
months[3]="March"; 
months[4]="April"; 
months[5]="May"; 
months[6]="June"; 
months[7]="July"; 
months[8]="August"; 
months[9]="September"; 
months[10]="October"; 
months[11]="November"; 
months[12]="December"; 
var time=new Date(); 
var lmonth=months[time.getMonth() + 1]; 
var date=time.getDate(); 
var year=time.getYear(); 
if (year<100) year="19" + time.getYear(); 
else year=time.getYear(); 
document.write("<center>" + lmonth + " "); 
document.write(date + ", " + year + "</center>"); 
// End --> 
</SCRIPT> 
</CENTER> 

<!-- Script Size:  1.00 KB  -->

 
1