I would like to have a script of the when I updated my website on that day.
Meaning Every month will automatically changed when the new month come like this month September and then it changes to October along with the current date attached and the Clock running and so fourth does this make any sense. I found a script from this Form somewhere, lol which is perfect but need the Update word in there and the time running like a clock. As I am no expert on read and understanding this script. Thanks
<B>
<FONT style="FONT-SIZE:10pt" color="yellow" face="veredana">
<script language="JavaScript">
<!--
var now = new Date();
var days = new Array(
'Sunday','Monday','Tuesday',
'Wednesday','Thursday','Friday','Saturday');
var months = new Array(
'January','February','March','April','May',
'June','July','August','September','October',
'November','December');
var date = ((now.getDate()<10) ? "0" : "")+ now.getDate();
function fourdigits(number) {
return (number < 1000) ? number + 1900 : number;}
today = days[now.getDay()] + ", " +
months[now.getMonth()] + " " +
date + ", " +
(fourdigits(now.getYear()));
document.write(today);
//-->
</script>
</FONT>
Meaning Every month will automatically changed when the new month come like this month September and then it changes to October along with the current date attached and the Clock running and so fourth does this make any sense. I found a script from this Form somewhere, lol which is perfect but need the Update word in there and the time running like a clock. As I am no expert on read and understanding this script. Thanks
<B>
<FONT style="FONT-SIZE:10pt" color="yellow" face="veredana">
<script language="JavaScript">
<!--
var now = new Date();
var days = new Array(
'Sunday','Monday','Tuesday',
'Wednesday','Thursday','Friday','Saturday');
var months = new Array(
'January','February','March','April','May',
'June','July','August','September','October',
'November','December');
var date = ((now.getDate()<10) ? "0" : "")+ now.getDate();
function fourdigits(number) {
return (number < 1000) ? number + 1900 : number;}
today = days[now.getDay()] + ", " +
months[now.getMonth()] + " " +
date + ", " +
(fourdigits(now.getYear()));
document.write(today);
//-->
</script>
</FONT>