A voir également:
- [javascript] calcul de date
- Iphone 14 date de sortie - Guide
- Telecharger javascript - Télécharger - Langages
- Formule de calcul excel - Guide
- Javascript round ✓ - Forum Javascript
- Whatsapp date incorrecte ✓ - Forum Mobile
1 réponse
HackTrack
Messages postés
618
Date d'inscription
vendredi 26 juillet 2002
Statut
Membre
Dernière intervention
13 juillet 2013
972
29 mars 2006 à 14:52
29 mars 2006 à 14:52
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <script type="text/javascript"> d= new Date(); d.setDate(d.getDate()+5); strDay = (d.getDate()<10?"0":"")+d.getDate(); month = d.getMonth()+1; strMonth = (month<10?"0":"")+month; strDate = ""+strDay+"/"+strMonth+"/"+d.getFullYear(); alert(strDate); </script> </head> <body> </body> </html>
;-)
HackTrack
28 juin 2011 à 15:15
d = new Date();
d.setDate(d.getDate()+45);