
More JavaScript Clocks
Analogue Clock | Alarm Clock | Basic Clock | Binary Clock | Button Time | Military 12 Hour | Corner Clock | Stop Watch | Current Date 1 | Current Date 2 | Current Date 3 | Current Date 4 | Holidays Notification | Current Time | Current Week | Week of the year | Date Time | Long Date Time | How Many Days | Digital Clock | Future Date | ISO Clock Standard | Live Clock | On Off Clock | Proper Date | Scroll Clock | A Silly Clock | Christmas Count Down | Time In Words | Title Bar Clock | Digital Wall Clock | Week Dates | World Times | World Clocks
Description
Displays the date the current week starts on. Useful if you want a new link each week or just to show the first day of the current week....View A Script Demo
Displays the date the current week starts on. Useful if you want a new link each week or just to show the first day of the current week....View A Script Demo
Do you find it confusing setting up these script?
Java Scripts Magic can do all the hard work for you all At The Touch Of A Button.
Java Scripts Magic can do all the hard work for you all At The Touch Of A Button.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="Generator" CONTENT="TextPad 4.4">
<LINK href="general.css" rel="stylesheet" type="text/css">
<SCRIPT LANGUAGE="JavaScript">
<!-- Original: Mark McCain (sub235k@worldnet.att.net) -->
<!-- Begin
page_extension = ".html";
var today = new Date();
var day = today.getDate();
var month = today.getMonth() + 1;
var year = today.getYear();
if (year < 2000) // Y2K Fix, Isaac Powell
year = year + 1900; // http://onyx.idbsu.edu/~ipowell
var offset = today.getDay();
var week;
if(offset != 0) {
day = day - offset;
if ( day < 1) {
if ( month == 1) day = 31 + day;
if (month == 2) day = 31 + day;
if (month == 3) {
if (( year == 00) || ( year == 04)) {
day = 29 + day;
}
else {
day = 28 + day;
}
}
if (month == 4) day = 31 + day;
if (month == 5) day = 30 + day;
if (month == 6) day = 31 + day;
if (month == 7) day = 30 + day;
if (month == 8) day = 31 + day;
if (month == 9) day = 31 + day;
if (month == 10) day = 30 + day;
if (month == 11) day = 31 + day;
if (month == 12) day = 30 + day;
if (month == 1) {
month = 12;
year = year - 1;
}
else {
month = month - 1;
}
}
}
week = month + "-" + day + "-" + year; // i.e. 10-31-99
page = week + page_extension; // i.e. 10-31.99.html
link = "<a href='" + page + "'>Page of the Week</a>"; // link to 10-31-99.html
// End -->
</script>
</HEAD>
<BODY Background=../graphics/grayback.jpg>
<center><BR><BR><BR>
<script>
document.write(week)
// or you can use
//document.write(link);
// or
//document.write(page)
</script>
</center>
</BODY>
</HTML>
<HTML>
<HEAD>
<META NAME="Generator" CONTENT="TextPad 4.4">
<LINK href="general.css" rel="stylesheet" type="text/css">
<SCRIPT LANGUAGE="JavaScript">
<!-- Original: Mark McCain (sub235k@worldnet.att.net) -->
<!-- Begin
page_extension = ".html";
var today = new Date();
var day = today.getDate();
var month = today.getMonth() + 1;
var year = today.getYear();
if (year < 2000) // Y2K Fix, Isaac Powell
year = year + 1900; // http://onyx.idbsu.edu/~ipowell
var offset = today.getDay();
var week;
if(offset != 0) {
day = day - offset;
if ( day < 1) {
if ( month == 1) day = 31 + day;
if (month == 2) day = 31 + day;
if (month == 3) {
if (( year == 00) || ( year == 04)) {
day = 29 + day;
}
else {
day = 28 + day;
}
}
if (month == 4) day = 31 + day;
if (month == 5) day = 30 + day;
if (month == 6) day = 31 + day;
if (month == 7) day = 30 + day;
if (month == 8) day = 31 + day;
if (month == 9) day = 31 + day;
if (month == 10) day = 30 + day;
if (month == 11) day = 31 + day;
if (month == 12) day = 30 + day;
if (month == 1) {
month = 12;
year = year - 1;
}
else {
month = month - 1;
}
}
}
week = month + "-" + day + "-" + year; // i.e. 10-31-99
page = week + page_extension; // i.e. 10-31.99.html
link = "<a href='" + page + "'>Page of the Week</a>"; // link to 10-31-99.html
// End -->
</script>
</HEAD>
<BODY Background=../graphics/grayback.jpg>
<center><BR><BR><BR>
<script>
document.write(week)
// or you can use
//document.write(link);
// or
//document.write(page)
</script>
</center>
</BODY>
</HTML>
If you have a Business Proposal that you think may be of interest to us here at Best Download Sites please contact us to discuss the matter in further detail

