![]() |
|
#1
|
|||
|
|||
|
I was looking in google for a simple calendar....
and ............. I like your! in the code i see: ////////////////////// wrong i think function cdayf() { if ((ccy>sccy)|((ccy==sccy)&&(ccm>=sccm))) return; else { ccy=sccy; ccm=sccm; cfd=scfd; } ///////////////////////////// corect i think function cdayf() { if ((ccy>sccy) || ((ccy==sccy)&&(ccm>=sccm))) return; else { ccy=sccy; ccm=sccm; //cfd=scfd; // what is this!!!???? } Next thin, in your code: marr=((ccy%4)==0)?mnl:mnn; This is wrong!!!! you want this ((year % 4 == 0) || (year % 100 == 0) || (year % 400 == 0)) -> FEV 29 soo marr=( (ccy % 4 == 0) || (ccy % 100 == 0) || (ccy % 400 == 0) )?mnl:mnn; regards, You can write to my email if you want!!!! |
|
#2
|
|||
|
|||
|
there are many fixes... just look for it... i made also one...
... just searching |
![]() |
| Thread Tools | |
| Display Modes | |
|
|