You can use JavaScript to do this
<script language="JavaScript">
function getworldtime()
{
now = new Date();
var localTime ;
localTime = now.toLocaleString();
document.write(localTime);
}
</script>
hope this helps
Santosh
Bhushan Bhangale <[EMAIL PROTECTED]> on 01/15/2001 03:42:17 PM
Please respond to A mailing list about Java Server Pages specification and
reference <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
cc: (bcc: Santosh Daryani/IT/Aon Consulting)
Subject: how to show timezone specific time
Hi
I am asking this question again because nobody has answered it before when I
aksed it. I have a multi locale site including(US,UK,JP,FR,DE,MX,SW). It is
running on Solaris machine which is set to GMT timezone. I want to show timezone
specific time to the users. Suppose a person is seeing the site in japanese
locale then he should see time according to the Japan TimeZone.
An urgent reply would be a great help.
thanks in advance
Thanks & Regards
Bhushan Bhangale
Consultant
http://www.netacross.com
Chequemail.com - a free web based e-mail service that also pays!!!
http://www.chequemail.com
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets