0

تاريخ شمسي

 
amir136724
amir136724
کاربر نقره ای
تاریخ عضویت : آبان 1389 
تعداد پست ها : 780
محل سکونت : teharan

تاريخ شمسي

<script language="javascript" type="text/javascript">
dayName = new Array ("U??© ?´U†?¨U‡ "," ?¯Uˆ?´U†?¨U‡"," ?³U‡ ?´U†?¨U‡ "," ?†U‡?§?± ?´U†?¨U‡ "," U¾U†?¬?´U†?¨U‡ "," ?¬U…?¹U‡ "," ?´U†?¨U‡" )
monName = new Array ( "?¯U?","?¨U‡U…U†","?§?³U?U†?¯","U??±Uˆ?±?¯U?U†","?§?±?¯U??¨U‡?´??","?®?±?¯?§?¯","??U??±","U…?±?¯?§?¯","?´U‡?±U?Uˆ?±","U…U‡?±","?¢?¨?§U†","?¢?°?±")
now = new Date
</script>
<script language="javascript">
rr=dayName[now.getDay()]
if (now.getMonth() <= 1 ) { ii=now.getFullYear()-622 } else { if ( now.getDate() <= 21 && now.getMonth() == 2) { ii=now.getFullYear()-622 } else { ii=now.getFullYear()-621 }}
</script>
<script language="javascript" type="text/javascript">
if ( now.getMonth() == 6 || now.getMonth() == 7 || now.getMonth() == 8 || now.getMonth() == 9) { if ( now.getDate() <=22 ) { mm=monName[now.getMonth()] } else {mm=monName[now.getMonth()+1]}}
if ( now.getMonth() == 4 || now.getMonth() == 5 || now.getMonth() == 10 ) { if ( now.getDate() <=21 ) { mm=monName[now.getMonth()] } else {mm=monName[now.getMonth()+1] }}
if ( now.getMonth() == 0 || now.getMonth() == 2 || now.getMonth() == 3 ) { if ( now.getDate() <=20 ) { mm=monName[now.getMonth()] } else { mm=monName[now.getMonth()+1] }}
if ( now.getMonth() == 1) { if ( now.getDate() <=19 ) { mm=monName[now.getMonth()] } else { mm=monName[now.getMonth()+1] }}
if ( now.getMonth() == 11) { if ( now.getDate() <=21 ) { mm=monName[now.getMonth()] } else { mm=monName[now.getMonth()-11] }}
if ( now.getMonth() == 2 || now.getMonth() == 3 || now.getMonth() == 0 ){if ( now.getDate() <=20 ) {mr=now.getDate()+10 } else {  mr=now.getDate()+10-30 }}
if ( now.getMonth() == 4 || now.getMonth() == 5 ){ if ( now.getDate() <=21 ) { mr=now.getDate()+10 } else { mr=now.getDate()+10-31 }}
if ( now.getMonth() == 6 || now.getMonth() == 7 || now.getMonth() == 8 ){ if ( now.getDate() <=21 ) { mr=now.getDate()+9 } else { mr=now.getDate()+9-31 }}
if ( now.getMonth() == 10 || now.getMonth() == 11){ if ( now.getDate() <=21 ) { mr=now.getDate()+9 } else { mr=now.getDate()+9-30 }}
if ( now.getMonth() == 9){ if ( now.getDate() <=22 ) { mr=now.getDate()+8 } else { mr=now.getDate()+8-30} }
if ( now.getMonth() == 1 ){ if ( now.getDate() <=20 ) { mr=now.getDate()+11 } else { mr=now.getDate()+11-30  }}
document.write("<font face='Tahoma' size='2' color='#FF0000'>" + rr + ", " +mr+" "+ mm + " " + ii + "</font>")
</script></font>
 

یک شنبه 23 آبان 1389  4:43 PM
تشکرات از این پست
hadikousha
hadikousha
کاربر نقره ای
تاریخ عضویت : شهریور 1388 
تعداد پست ها : 1358
محل سکونت : خراسان رضوی

پاسخ به:تاريخ شمسي

تشکر از شما

اللهم عجل لولیک الفرج

یک شنبه 23 آبان 1389  6:25 PM
تشکرات از این پست
دسترسی سریع به انجمن ها