function DayOfWeek() 
{ 
var stDate; 
var now; 
var assoc= new Array(7); 
assoc[0]="الأحد"; 
assoc[1]="الأثنين"; 
assoc[2]="الثلاثاء"; 
assoc[3]="الأربعاء"; 
assoc[4]="الخميس"; 
assoc[5]="الجمعة"; 
assoc[6]="السبت"; 
now= new Date(); 
stDate=now.getDay(); 
return(assoc[stDate]); 
}
Stamp = new Date();
today_date=Stamp.getYear()+'-'+(Stamp.getMonth()+1)+'-'+ Stamp.getDate()+ ' ' +DayOfWeek();
document.write("<span class=date_stl>"+today_date+"</span>");
