#fcleft"> |
|
| | | | | | | | | | |
This is a script that I released a long time ago, then my server crashed and I never got to putting this script back up. Javascript Date, as you can tell, shows todays date in an easy-to-read format. This is a favorite of personal pages because it tells the viewer info about the outside world. Professional homepages use this with CGI script to get info about how many people came on a specific day.
The source..
<form name="date">
<input type=text size=9 name="forms">
</form>
<script language="Javascript">
<!--
// please keep these lines on when you copy the source
// made by: Nicolas - http://www.javascript-page.com
var today = new Date()
var month = today.getMonth() + 1
var day = today.getDate()
var year = today.getYear()
var s = "/"
document.date.forms.value = month + s + day + s + year
//-->
</script>