I finally coded Calendar with the help of Gregorian to Islamic Date converter my final code is: function Calendar() Var months=new Array("nill","January","February","March","April","May","June","July","August","September","October","November","December") Var LastDay=new Date(now.getFullYear(),now.getMonth()+1,0) ĭocument.getElementById("head").innerHTML=""+nameOfMonth+"" ĭocument.getElementById("tble").innerHTML=abs Var FirstDay=new Date(now.getFullYear(),now.getMonth(),1) I am trying to make calendar which contain both Gregorian and Islamic date in one,I just rough coded Gregorian calendar like bellow but i don't have idea that how to include Islamic date with this,could any one please give me idea that how to make this
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |