Javascript
ibrahim
-
ibrahim -
ibrahim -
salut je voulais que se programme affiche aussi les jours de 1 a 30 alors s'il vous plais comment je fait????????
<html>
<head>
<script language="javascript">
function date(){
dt=new date();
nj=dt.getday();
m=dt.getmonth()+1;
a.getyear();
document.write(" "+nj+"/"+ds();
m+"/"+a);
}
function heure(){
hr=dt.gethours();
mn=dt.getminutes();
sc=dt.getseconds();
document.write(" "+hr+":"+mn+":"+sc);
}
</script>
</head>
<body>
<center><h3>on est le :</h3><script language="javascript">date();heure()</script>
</centre>
</body>
</html>
merci d'avance =))
<html>
<head>
<script language="javascript">
function date(){
dt=new date();
nj=dt.getday();
m=dt.getmonth()+1;
a.getyear();
document.write(" "+nj+"/"+ds();
m+"/"+a);
}
function heure(){
hr=dt.gethours();
mn=dt.getminutes();
sc=dt.getseconds();
document.write(" "+hr+":"+mn+":"+sc);
}
</script>
</head>
<body>
<center><h3>on est le :</h3><script language="javascript">date();heure()</script>
</centre>
</body>
</html>
merci d'avance =))
A voir également:
- Javascript
- Telecharger javascript pour pc - Télécharger - Langages
- A javascript error occurred in the main process français - Forum Windows
- Javascript void 0 c'est quoi ✓ - Forum Réseaux sociaux
- Javascript arrondir à 2 décimales - Forum Webmastering
- A javascript error occurred in the main process - Forum Handicap / Accessibilté