Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting the server date
Message
General information
Forum:
Internet
Category:
Javascript
Miscellaneous
Thread ID:
00455560
Message ID:
00455581
Views:
23
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform