![]() |
JavaScript Time for your webpage
Does anyone have that JavaScript code where you put that time into your page and code the time to follow the time on the bottom right hand corner. I tried many times to make a Java time code but it didnt work so I need help from you guys to give me the JavaScript code for time.
|
Javascript != Java. There is a Javascript forum.
|
:
document.write(new Date());You can have more flexibility with the format. Google tells all: http://www.google.ca/search?hl=en&q=...ipt+time&meta= |
[PHP]
var date = new Date(); var hour = date.getHour(); etc... [/PHP] and like DaWei said, JAVA is not JAVASCRIPT http://www.programmingforums.org/for...splay.php?f=23 Java is a programming language which almost can be integrated in web pages as applet program. Javascript is a scripting language for the web. So web developer have something to make their web pages dynamic and have awesome features! |
|
I hate that, Agent. Now I know I'm a day late and a dollar short. ;)
|
Doing a 'time' script in javascript would be considered an easy task. Why don't you try google. I don't even have to look, and i know tehre are tons of tutorials, and scripts already out there.
|
| All times are GMT -5. The time now is 4:12 AM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC