[Home]Current date or time

HomePage | RecentChanges | Preferences | Newbie Help

Category HTML FAQ -:- [Category JavaScript FAQ]?


Another JavaScript solution --
<script language="javascript"><!--
var month = new Array('January','Febuary','March',
        'April','May','June','July','August','September',
        'October','November','December');
var dToday = new Date();
document.write("<font face='verdana' color='green' size='2'>Todays Date ("+
     month[dToday.getMonth()] + " " + dToday.getDate()+
     ", " + dToday.getFullYear() + ")</font>");
 // --></script>

Comments


HomePage | RecentChanges | Preferences | Newbie Help
This page is read-only | View other revisions
Last edited May 5, 2001 10:29 am (diff)
Search:

This FAQ is happily hosted by Betadome Digital Media