»
AnglaisFran�aisVietnamien

Imprimer - Date de base Display 2 - JavaScriptBank.com

Version compl�te: jsB@nk » Heure » Horloge » Date de base Display 2
URL: https://www.javascriptbank.com/basic-date-display-2.html

Date de base Display 2 © JavaScriptBank.comCet JavaScript affiche le mois, le jour et l'année, sans que le jour de la semaine. Propre et simple. L'affichage peut être modifié avec le CSS.

Version compl�te: jsB@nk » Heure » Horloge » Date de base Display 2
URL: https://www.javascriptbank.com/basic-date-display-2.html



JavaScript
<script language="javascript">// Created by: Lee Underwood :: http://javascript.internet.com/function displayDate() {  var now = new Date();  var today = now.getDate();  var month = now.getMonth();    var monthName = new Array(12)      monthName[0]="January ";      monthName[1]="February ";      monthName[2]="March ";      monthName[3]="April ";      monthName[4]="May ";      monthName[5]="June ";      monthName[6]="July ";      monthName[7]="August ";      monthName[8]="September ";      monthName[9]="October ";      monthName[10]="November ";      monthName[11]="December ";  var year = now.getFullYear();  document.write(monthName[month]+today+ ", "+year);}</script><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


HTML
<script type="text/javascript"><!--  displayDate();//--></script><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->