• INSERTION DATE DU JOUR 1 METHODE

    onClipEvent (load) {
    months = new Array("01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12");
    timedate = new Date();
    }
    onClipEvent (enterFrame) {
    hour = timedate.getHours();
    minutes = timedate.getMinutes();
    seconds = timedate.getSeconds();
    todaydate = timedate.getDate();
    day = timedate.getDay();
    month = timedate.getMonth();
    monthname = months[month];
    year = timedate.getFullYear();
    if (length(minutes) == 1) {
    minutes = "0"+minutes;
    }
    // end if
    if (length(seconds) == 1) {
    seconds = "0"+seconds;
    }
    // end if
    currenttime = hour+":"+minutes+":"+seconds;
    currentdate = todaydate+"/"+month+"/"+year;
    calendar = todaydate+"."+monthname+"."+year;
    delete timedate;
    timedate = new Date();
    }

     


    INSERTION DE LA DATE DU JOUR


  • Commentaires

    Aucun commentaire pour le moment

    Suivre le flux RSS des commentaires


    Ajouter un commentaire

    Nom / Pseudo :

    E-mail (facultatif) :

    Site Web (facultatif) :

    Commentaire :