The title bar of this window should display the date if your browser supports JavaScript.
Source for this page
<HTML>
<HEAD>
<script language="JavaScript" type="text/javascript">
<!--
function MyGetFullYear(dateTime) {
// If the browser is ECMAScript-Compliant use getFullYear().
if (dateTime.getFullYear) {
return dateTime.getFullYear();
}
// Otherwise convert the value returned by getYear()
// to a four-digit value (if it isn't already).
else {
var gotYear = dateTime.getYear();
if (gotYear > 1000) {
return gotYear;
}
else {
return (1900 + gotYear);
}
}
}
//-->
</script>
<!-- Some browsers pick up the first TITLE tag and use that,
so print the JS TITLE first. -->
<SCRIPT LANGUAGE="JavaScript">
<!--
now = new Date();
month = (now.getMonth() + 1);
document.write("<TITLE>Today's Date: ");
document.write(month + '/' + now.getDate() + '/' + now.getYear());
document.write('</TITLE>');
// -->
</SCRIPT>
<!-- If the user's browser isn't JS enabled this title will be used.
Otherwise, it will be sandwiched between two TITLE tags and ignored.
<TITLE>Your browser must not support JavaScript</TITLE>
<!-- Some browsers pick up the last TITLE tag and use that,
so print the JS TITLE last, too. -->
<SCRIPT LANGUAGE="JavaScript">
<!--
now = new Date();
month = (now.getMonth() + 1);
document.write("<TITLE>Today's Date: ");
document.write(month + '/' + now.getDate() + '/' + now.getYear());
document.write('</TITLE>');
// -->
</SCRIPT>
</HEAD>
<BODY>
The title bar of this window should display the date if your browser supports JavaScript.
</BODY>
</HTML>