Javascripts > Javascript Clocks > Date Script
Script Title: Date Script
Description: This script allows you to put the current date in a location specified by you. It is very similar to the script on the homepage which tells the date.
Example: Available
Copy the following code between the <BODY></BODY> tags of your html page.<script language="Javascript"> <!-- /* Today's date script Visit java-scripts.net or http://wsabstract.com for this script */ var dayName = new Array ("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday") var monName = new Array ("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December") var now = new Date document.write("Today is " + dayName[now.getDay()] + ", " + monName[now.getMonth()] + " "+now.getDate() +".") //--> </script>
Enter your name and email address to have this script sent right to your Inbox for later viewing. First Name Last Name Email