Thank you TrianguloY​ Jappie Toutenhoofd​

Thank you TrianguloY​ Jappie Toutenhoofd​

Not sure if I’ll do for day number

]]>

6 Commentsto Thank you TrianguloY​ Jappie Toutenhoofd​

  1. Anonymous says:

    < ![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;

    ]]>

  2. Anonymous says:

    < ![CDATA[

    TrianguloY lol you’ve done the day number “Zooper widget”

    ]]>

  3. Anonymous says:

    < ![CDATA[

    Haha TrianguloY Now I saw it. Silly me. Thanks.

    ]]>

  4. Anonymous says:

    < ![CDATA[

    Missing var unused like discussed. For the update everyday.

    ]]>

  5. Anonymous says:

    < ![CDATA[

    Evelien Wijbenga an instruction missing

    ]]>

  6. Anonymous says:

    < ![CDATA[

    Bruno-Isa LAMOUR-ARNOULD I updated both comments, they should be correct now. (Forgetful me…)

    ]]>

Leave a Reply

Your email address will not be published. Required fields are marked *