Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting the server date
Message
Information générale
Forum:
Internet
Catégorie:
Javascript
Divers
Thread ID:
00455560
Message ID:
00455581
Vues:
24
>On my contacts page I want to display the server time so that people can know if it's office hours (we don't do 24/7!) where we are.
>
>I have a great script to dynamically show the date and time but as it's javascript it only shows the users local time - which they should know!
>
>How can I give javascript the server time?
>
>Sarah

Sarah,
If you're using IIS and ASP, wrap the javascript code in a < % % > and have the server process it.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform