Admin Admin
المساهمات : 827 تاريخ التسجيل : 28/05/2011
| موضوع: عرض التاريخ بالأشهر و الأيام الأربعاء يونيو 22, 2011 9:22 am | |
| <SCRIPT language=JavaScript> /* Visit our site at http://www.star28.com/ for more code * Translated By www.star28.com* This notice must stay intact for use */ <!-- Begin var day=""; var month=""; var myweekday=""; var year=""; mydate = new Date(); myday = mydate.getDay(); mymonth = mydate.getMonth(); myweekday= mydate.getDate(); weekday= myweekday; myyear= mydate.getYear(); year = myyear if(myday == 0) day = " الأحد, " else if(myday == 1) day = " الإثنين, " else if(myday == 2) day = " الثلاثاء, " else if(myday == 3) day = " الاربعاء, " else if(myday == 4) day = " الخميس, " else if(myday == 5) day = " الجمعة, " else if(myday == 6) day = " السبت, " if(mymonth == 0) { month = "كانون ثاني "} else if(mymonth ==1) month = "شباط " else if(mymonth ==2) month = "آذار " else if(mymonth ==3) month = "نيسان " else if(mymonth ==4) month = "أيار " else if(mymonth ==5) month = "حزيران " else if(mymonth ==6) month = "تموز " else if(mymonth ==7) month = "آب " else if(mymonth == month = "أيلول " else if(mymonth ==9) month = "تشرين أول " else if(mymonth ==10) month = "تشرين ثاني " else if(mymonth ==11) month = "كانون أول " // End --> </SCRIPT> <CENTER> <SCRIPT> document.write("<b><font face=Tahoma color=#006600 size=1>" + day +myweekday ); document.write(month + ", " + year + "</font></b>"); </SCRIPT> </CENTER> | |
|