Thank you TrianguloY Jappie Toutenhoofd
Thank you TrianguloY Jappie Toutenhoofd
Not sure if I’ll do for day number
]]>« Because there are LL-users using Zooper for this. :-( (Previous Post)
Thank you TrianguloY Jappie Toutenhoofd
Not sure if I’ll do for day number
]]>
< ![CDATA[
Try this:
(Use a mono space font)
var unused=$ll_day;
LL.bindClass(“java.util.Calendar”);
var nbs=” “;//No break space, not a normal space character
var cal=Calendar.getInstance();
var day=cal.get(Calendar.DAY_OF_MONTH);
var week=cal.get(Calendar.DAY_OF_WEEK)-1;
var offset=(36-day+week)%7;
var max=cal.getActualMaximum(Calendar.DAY_OF_MONTH);
var s=””;
for(var i=0;i
for(var i=1;i< =max;++i){
if(i==day)s+=”“;
s+=nbs+(i<10?"0"+i:i);
if(i==day)s+=”“;
offset=(offset+1)%7;
if(offset==0)s+=”
\n”;
}
while(offset++<7)s+=nbs+nbs+nbs;
return s;
]]>
< ![CDATA[
TrianguloY lol you’ve done the day number “Zooper widget”
]]>
< ![CDATA[
Haha TrianguloY Now I saw it. Silly me. Thanks.
]]>
< ![CDATA[
Missing var unused like discussed. For the update everyday.
]]>
< ![CDATA[
Evelien Wijbenga an instruction missing
]]>
< ![CDATA[
Bruno-Isa LAMOUR-ARNOULD I updated both comments, they should be correct now. (Forgetful me…)
]]>