function getNetDate() {
	//returns the current system date as a string.
	var anydate = new Date()

        var xx = anydate.getDay()+1
        var day = null
        if (xx==1){day="Dimanche"}if (xx==2){day="Lundi"}if (xx==3){day="Mardi"}
        if (xx==4){day="Mercredi"}if (xx==5){day="Jeudi"}if (xx==6){day="Vendredi"}
        if (xx==7){day="Samedi"}

        xx = anydate.getMonth()+1
        nm=null
        if (xx==1){month="janvier"}if (xx==2){month="février"}if (xx==3){month="mars"}
        if (xx==4){month="avril"}if (xx==5){month="mai"}if (xx==6){month="juin"}
        if (xx==7){month="juillet"}if (xx==8){month="août"}if (xx==9){month="septembre"}
        if (xx==10){month="octobre"}if (xx==11){month="novembre"}if (xx==12){month="décembre"}

        year = anydate.getYear()
		//year=year+1900
	    return day+ " " + " "+anydate.getDate()+ " " + month + " " + " "+ anydate.getYear()

