Is there a way to put the time and date on my website? If so, how?
Time and date
Collapse
X
-
Re: Time and date
I think there will be something here you can use for that:Originally posted by JGoudge87 View PostIs there a way to put the time and date on my website? If so, how?
http://www.dynamicdrive.com/dynamicindex6/
-
Re: Time and date
sure. are you just looking for a way to put a time and date on your site?
Comment
-
Re: Time and date
http://www.timeanddate.com/clocks/free.html
If you follow this link you can configure a clock.
then copy the html it makes for you
then put the html you copy into an html box where you want it on your site and there you go
Comment
-
Re: Time and date
<FONT style="FONT-SIZE:10pt" color="#FFFFFF" face="Georgia"><b>
<script language="JavaScript" type="text/javascript">
<!--
var
month = new Array();
month[0]="January";
month[1]="February";
month[2]="March";
month[3]="April";
month[4]="May";
month[5]="June";
month[6]="July";
month[7]="August";
month[8]="September";
month[9]="October";
month[10]="November";
month[11]="December";
var
day = new Array();
day[0]="Sunday";
day[1]="Monday";
day[2]="Tuesday";
day[3]="Wednesday";
day[4]="Thursday";
day[5]="Friday";
day[6]="Saturday";
today = new Date();
date = today.getDate();
day = (day[today.getDay()]);
month = (month[today.getMonth()]);
year = (today.getFullYear());
suffix = (date==1 || date==21 || date==31) ? "st" : "th" &&
(date==2 || date==22) ? "nd" : "th" && (date==3 || date==23) ? "rd" : "th"
function print_date()
{
document.write(day + "," + " " + date + "<sup>" + suffix + "</sup>" + " " +
month + "," + " " + year);
}
// -->
</script>
<script>
<!--
print_date();
//-->
</script>
Copy the above script into an html box and place on your page .... you can change the font size and color code ...
VodaHost
Your Website People!
1-302-283-3777 North America / International
02036089024 / United Kingdom
291916438 / Australia
------------------------
Top 3 Best Sellers
Web Hosting - Unlimited disk space & bandwidth.
Reseller Hosting - Start your own web hosting business.
Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)
Comment
-
Re: Time and date
It seems that you did not copy the script into a HTML box as directed. Unconfined scripts (those not copied into "boxes" but pasted onto the page itself) will always present at the top of the page wherever page coding itself allows.Originally posted by melody View PostOkay, i found it, but once i copied the code you have above it centered it on the bottom of the page. Which portion of the code can i change to allow me to place it anywhere i want on the page?
Delete it from your BV page as is, click the icon for a HTML box, double-click that box, and copy the script entirely into it.
>> You can re-shape the html box to approximate the size you wish the script to appear, but keep in mind the only real reference that is useful is the top-left corner of the HTML box, which corresponds to the X-Y axis point of your BV page: scripts are not bound to present within the HTML box per se, but can be placed/moved upon your BV page with this X-Y reference point a "box" provides --- all scripts perform as they were written (not as you simply "intend"), so being able to place/move them with a single reference/reform point is extremely useful. You will figure this out by needing to move the box until your script is in the exact place you desire.
Comment





Comment