<html>
<head>
<script>
{
var current = Date();
document.write(current);
}
</script>
</head>
</html>
I may not get it the 1st or 2nd time,
but how sweet that 15th time can be.
admin@onpntwebdesigns.com
<html>
<head>
<script>
function showit(){
var current = Date();
document.form1.text1.value = current;
}
</script>
</head>
<body onLoad="showit()">
<form name="form1">
<input type="text" name="text1">
</form>
</body>
</html>
I may not get it the 1st or 2nd time,
but how sweet that 15th time can be.
admin@onpntwebdesigns.com
that would only show you the time that the client computer has not the time the server has. In order to show the time of the server you will need to resort to server side technology. See the PHP forum. Gary
I have a question refering to your post xutopia
would the server give up the time in the time zone the user is residing or the time zone the server is residing.
In the case it would not issue the correct time zone of the user then would it be more benificial to take the time from the users computer instead?
I may not get it the 1st or 2nd time,
but how sweet that 15th time can be.
admin@onpntwebdesigns.com
Thanks for the help - i have a problem -i'm already using the "Onload" function for something else in the body - also - it didnt' work anyway because i'm putting the time to default in a field in a form. help! aghahghagha
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.