>>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.
PHP and Perl are my ISP's preference. I'm about to change ISP but the new one is no better. Still PHP might not have much of an overhead so I can try that. Your answer, though, confirms that javascript can't do it natively.
Thanks
Sarah
Sarah King
pcpropertymanager.com