Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] How do I insert the actual (not user's computer) date with javascript (no ASP)?


  • From: javascript@xxxxxxxxxx (Rodney Myers)
  • Subject: [Javascript] How do I insert the actual (not user's computer) date with javascript (no ASP)?
  • Date: Wed, 21 Nov 2001 17:37:44 +0000

Bobby,

client side javascripts such as those Alan's link references are going
to display time from the local system and not the server.

An ASP/Perl/PHP server script could insert the server time/date but not
update second by second since once the html has departed the server it
is beyond the scope of such scripts, though the whole file can be
refreshed from time to time.

hth

Rodney


robertuva@xxxxxxxxx wrote:

> I am looking to insert the actual date on a page that would update
> based on the server date or atomic clock date or something with a
> quick javascript or something. I don't have ASP so I can't use the
> date() object or whatever.
> Please help!
>
> Thanks,
> Bobby
>
> _______________________________________________
>

--
Shop@ssistant Add-ons and Developer Workshops
http://www.aflyingstart.net/addons/

Enquiries regarding Shop@ssistant Classic training :
Call 01256 880770

Rodney Myers
Based in Oxford, England
Technical Director, Shop@ssistant eCommerce Solutions